summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-panel.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index fc87bf48..430f3a90 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -311,9 +311,9 @@ set_gtk_image_from_gtk_image (GtkImage *image,
}
break;
default:
- gtk_image_set_from_stock (image,
- GTK_STOCK_FILE,
- GTK_ICON_SIZE_MENU);
+ gtk_image_set_from_icon_name (image,
+ "text-x-generic",
+ GTK_ICON_SIZE_MENU);
}
}
@@ -337,9 +337,9 @@ sync_title (PlumaPanel *panel,
gtk_label_set_text (GTK_LABEL (panel->priv->title_label),
_("Empty"));
- gtk_image_set_from_stock (GTK_IMAGE (panel->priv->title_image),
- GTK_STOCK_FILE,
- GTK_ICON_SIZE_MENU);
+ gtk_image_set_from_icon_name (GTK_IMAGE (panel->priv->title_image),
+ "text-x-generic",
+ GTK_ICON_SIZE_MENU);
}
}
@@ -494,8 +494,8 @@ build_vertical_panel (PlumaPanel *panel)
0);
panel->priv->title_image =
- gtk_image_new_from_stock (GTK_STOCK_FILE,
- GTK_ICON_SIZE_MENU);
+ gtk_image_new_from_icon_name ("text-x-generic",
+ GTK_ICON_SIZE_MENU);
gtk_box_pack_start (GTK_BOX (icon_name_hbox),
panel->priv->title_image,
FALSE,
@@ -669,8 +669,8 @@ pluma_panel_add_item (PlumaPanel *panel,
if (image == NULL)
{
/* default to empty */
- data->icon = gtk_image_new_from_stock (GTK_STOCK_FILE,
- GTK_ICON_SIZE_MENU);
+ data->icon = gtk_image_new_from_icon_name ("text-x-generic",
+ GTK_ICON_SIZE_MENU);
}
else
{