r1136@localhost: muntyan | 2005-11-27 16:32:20 -0600

MOO_STOCK_(MOVE|COPY|LINK)_FILE
This commit is contained in:
Yevgen Muntyan 2005-11-28 04:36:27 +00:00
parent d328c0d104
commit a7ccf0011a
2 changed files with 10 additions and 1 deletions

View File

@ -34,7 +34,10 @@
static GtkStockItem stock_items[] = {
{(char*) MOO_STOCK_SAVE_NONE, (char*) "Save _None", 0, 0, NULL},
{(char*) MOO_STOCK_SAVE_SELECTED, (char*) "Save _Selected", 0, 0, NULL}
{(char*) MOO_STOCK_SAVE_SELECTED, (char*) "Save _Selected", 0, 0, NULL},
{(char*) MOO_STOCK_COPY_FILE, (char*) "Copy", 0, 0, NULL},
{(char*) MOO_STOCK_MOVE_FILE, (char*) "Move", 0, 0, NULL},
{(char*) MOO_STOCK_LINK_FILE, (char*) "Link", 0, 0, NULL}
};
#if !GTK_CHECK_VERSION(2,10,0)
@ -212,6 +215,8 @@ void moo_create_stock_items (void)
register_stock_icon_alias (factory, GTK_STOCK_NO, MOO_STOCK_SAVE_NONE);
register_stock_icon_alias (factory, GTK_STOCK_SAVE, MOO_STOCK_SAVE_SELECTED);
register_stock_icon_alias (factory, GTK_STOCK_COPY, MOO_STOCK_COPY_FILE);
register_stock_icon_alias (factory, GTK_STOCK_NEW, MOO_STOCK_NEW_PROJECT);
register_stock_icon_alias (factory, GTK_STOCK_OPEN, MOO_STOCK_OPEN_PROJECT);
register_stock_icon_alias (factory, GTK_STOCK_CLOSE, MOO_STOCK_CLOSE_PROJECT);

View File

@ -53,6 +53,10 @@ G_BEGIN_DECLS
#define MOO_STOCK_FIND_IN_FILES "moo-find-in-files"
#define MOO_STOCK_FIND_FILE "moo-find-file"
#define MOO_STOCK_COPY_FILE "moo-copy-file"
#define MOO_STOCK_MOVE_FILE "moo-move-file"
#define MOO_STOCK_LINK_FILE "moo-link-file"
#define MOO_STOCK_PLUGINS GTK_STOCK_PREFERENCES