diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-08-13 14:25:10 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-08-13 14:25:10 +0200 |
commit | 82a7c3ddaa1b2bda7d03f9d258fa218468156488 (patch) | |
tree | 307abfa3cbf9373e4fe4af20a8254e2ce03dd943 /src/nautilus-floating-bar.c | |
parent | 3a61cbb24090dea76af0cc14a128f0c57fba77dc (diff) | |
download | nautilus-82a7c3ddaa1b2bda7d03f9d258fa218468156488.tar.gz |
src: don't use deprecated GtkImageMenuItem and GtkStock
There's another occurrence of GtkImageMenuItem right now, for the "Open
With..." menu which is harder to fix.
Diffstat (limited to 'src/nautilus-floating-bar.c')
-rw-r--r-- | src/nautilus-floating-bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c index c90fdc35f..40090f1fe 100644 --- a/src/nautilus-floating-bar.c +++ b/src/nautilus-floating-bar.c @@ -407,12 +407,12 @@ nautilus_floating_bar_new (const gchar *primary_label, void nautilus_floating_bar_add_action (NautilusFloatingBar *self, - const gchar *stock_id, + const gchar *icon_name, gint action_id) { GtkWidget *w, *button; - w = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU); + w = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU); gtk_widget_show (w); button = gtk_button_new (); |