diff options
author | Pablo Barciela <[email protected]> | 2018-02-06 18:37:29 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-12 13:05:25 +0100 |
commit | 98d6a4325bf31f675fc5c34593f27225b365b7b2 (patch) | |
tree | 3ebf8f9d8b5eefb5f68bdba4be0c53b0872b2b85 /cut-n-paste/toolbar-editor | |
parent | ead9eac79cae8b2181d6620951e9c41ed257d202 (diff) | |
download | eom-98d6a4325bf31f675fc5c34593f27225b365b7b2.tar.bz2 eom-98d6a4325bf31f675fc5c34593f27225b365b7b2.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-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 a704a77..aa66cf3 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -1389,9 +1389,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 6f144e2..c234093 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -508,8 +508,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); |