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-progress-info-widget.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-progress-info-widget.c')
-rw-r--r-- | src/nautilus-progress-info-widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-progress-info-widget.c b/src/nautilus-progress-info-widget.c index 474c23878..637ec152e 100644 --- a/src/nautilus-progress-info-widget.c +++ b/src/nautilus-progress-info-widget.c @@ -124,8 +124,8 @@ nautilus_progress_info_widget_constructed (GObject *obj) TRUE, TRUE, 0); - image = gtk_image_new_from_stock (GTK_STOCK_CANCEL, - GTK_ICON_SIZE_BUTTON); + image = gtk_image_new_from_icon_name ("gtk-cancel", + GTK_ICON_SIZE_BUTTON); button = gtk_button_new (); gtk_container_add (GTK_CONTAINER (button), image); gtk_box_pack_start (GTK_BOX (hbox), |