summaryrefslogtreecommitdiff
path: root/plugins/filebrowser/pluma-file-browser-plugin.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-18 23:24:59 +0100
committerraveit65 <[email protected]>2018-02-08 21:34:17 +0100
commit2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e (patch)
tree136751a6809f3f9dc590c4fc8f0a588e7e86e190 /plugins/filebrowser/pluma-file-browser-plugin.c
parent29d362e10ff63935fa1ecc12a0156b43fd3c11b9 (diff)
downloadpluma-2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e.tar.bz2
pluma-2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'plugins/filebrowser/pluma-file-browser-plugin.c')
-rw-r--r--plugins/filebrowser/pluma-file-browser-plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-plugin.c b/plugins/filebrowser/pluma-file-browser-plugin.c
index b619309e..775d7b36 100644
--- a/plugins/filebrowser/pluma-file-browser-plugin.c
+++ b/plugins/filebrowser/pluma-file-browser-plugin.c
@@ -574,7 +574,7 @@ on_selection_changed_cb (GtkTreeSelection *selection,
static GtkActionEntry extra_actions[] =
{
- {"SetActiveRoot", GTK_STOCK_JUMP_TO, N_("_Set root to active document"),
+ {"SetActiveRoot", "go-jump", N_("_Set root to active document"),
NULL,
N_("Set the root to the active document location"),
G_CALLBACK (on_action_set_active_root)}
@@ -717,7 +717,7 @@ pluma_file_browser_plugin_activate (PeasActivatable *activatable)
image = gtk_image_new_from_pixbuf(pixbuf);
g_object_unref(pixbuf);
} else {
- image = gtk_image_new_from_stock(GTK_STOCK_INDEX, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name("gtk-index", GTK_ICON_SIZE_MENU);
}
gtk_widget_show(image);
@@ -1141,7 +1141,7 @@ on_confirm_no_trash_cb (PlumaFileBrowserWidget * widget,
GTK_MESSAGE_QUESTION,
message,
secondary,
- GTK_STOCK_DELETE,
+ "gtk-delete",
NULL);
g_free (secondary);
@@ -1176,7 +1176,7 @@ on_confirm_delete_cb (PlumaFileBrowserWidget *widget,
GTK_MESSAGE_QUESTION,
message,
secondary,
- GTK_STOCK_DELETE,
+ "gtk-delete",
NULL);
g_free (message);