summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/taglist/pluma-taglist-plugin.c2
-rw-r--r--pluma/pluma-panel.c8
-rw-r--r--pluma/pluma-panel.h4
-rw-r--r--pluma/pluma-window.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin.c b/plugins/taglist/pluma-taglist-plugin.c
index 7feeeb78..6032d101 100644
--- a/plugins/taglist/pluma-taglist-plugin.c
+++ b/plugins/taglist/pluma-taglist-plugin.c
@@ -123,7 +123,7 @@ pluma_taglist_plugin_activate (PeasActivatable *activatable)
pluma_panel_add_item_with_stock_icon (side_panel,
priv->taglist_panel,
_("Tags"),
- GTK_STOCK_ADD);
+ "list-add");
}
static void
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 505d6c33..fc87bf48 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -717,14 +717,14 @@ void
pluma_panel_add_item_with_stock_icon (PlumaPanel *panel,
GtkWidget *item,
const gchar *name,
- const gchar *stock_id)
+ const gchar *icon_name)
{
GtkWidget *icon = NULL;
- if (stock_id != NULL)
+ if (icon_name != NULL)
{
- icon = gtk_image_new_from_stock (stock_id,
- GTK_ICON_SIZE_MENU);
+ icon = gtk_image_new_from_icon_name (icon_name,
+ GTK_ICON_SIZE_MENU);
}
pluma_panel_add_item (panel, item, name, icon);
diff --git a/pluma/pluma-panel.h b/pluma/pluma-panel.h
index 68de84c0..ccda47de 100644
--- a/pluma/pluma-panel.h
+++ b/pluma/pluma-panel.h
@@ -100,8 +100,8 @@ void pluma_panel_add_item (PlumaPanel *panel,
void pluma_panel_add_item_with_stock_icon (PlumaPanel *panel,
GtkWidget *item,
- const gchar *name,
- const gchar *stock_id);
+ const gchar *name,
+ const gchar *icon_name);
gboolean pluma_panel_remove_item (PlumaPanel *panel,
GtkWidget *item);
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c
index b24434df..b1dcea9c 100644
--- a/pluma/pluma-window.c
+++ b/pluma/pluma-window.c
@@ -3569,7 +3569,7 @@ create_side_panel (PlumaWindow *window)
pluma_panel_add_item_with_stock_icon (PLUMA_PANEL (window->priv->side_panel),
documents_panel,
_("Documents"),
- GTK_STOCK_FILE);
+ "text-x-generic");
}
static void