diff options
author | Pablo Barciela <[email protected]> | 2018-02-15 01:45:55 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-16 18:03:09 +0100 |
commit | 58e7446290d78e0744a5193e22bfa300e6737829 (patch) | |
tree | 9d1667d6605e6ca2b469f3ddf877f1256d635862 /cut-n-paste | |
parent | 005d88500dc47f285d83fc5451cd5cea0e8c14a3 (diff) | |
download | atril-58e7446290d78e0744a5193e22bfa300e6737829.tar.bz2 atril-58e7446290d78e0744a5193e22bfa300e6737829.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'cut-n-paste')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 4 | ||||
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index ad9c1755..c115b20d 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -1464,9 +1464,9 @@ egg_editable_toolbar_set_ui_manager (EggEditableToolbar *etoolbar, static const GtkActionEntry actions[] = { { "MoveToolItem", STOCK_DRAG_MODE, N_("_Move on Toolbar"), NULL, N_("Move the selected item on the toolbar"), G_CALLBACK (move_item_cb) }, - { "RemoveToolItem", GTK_STOCK_REMOVE, N_("_Remove from Toolbar"), NULL, + { "RemoveToolItem", "list-remove", N_("_Remove from Toolbar"), NULL, N_("Remove the selected item from the toolbar"), G_CALLBACK (remove_item_cb) }, - { "RemoveToolbar", GTK_STOCK_DELETE, N_("_Delete Toolbar"), NULL, + { "RemoveToolbar", "edit-delete", N_("_Delete Toolbar"), NULL, N_("Remove the selected toolbar"), G_CALLBACK (remove_toolbar_cb) }, }; diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index f9e3f22f..a52255b5 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -509,8 +509,8 @@ editor_create_item_from_name (EggToolbarEditor *editor, icon = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_LARGE_TOOLBAR); else - icon = gtk_image_new_from_stock (stock_id ? stock_id : GTK_STOCK_DND, - GTK_ICON_SIZE_LARGE_TOOLBAR); + icon = gtk_image_new_from_icon_name (stock_id ? stock_id : "gtk-dnd", + GTK_ICON_SIZE_LARGE_TOOLBAR); item_name = g_strdup (name); collate_key = g_utf8_collate_key (short_label, -1); |