[Xfce4-commits] <parole:bluesabre/gtk3> Replace new_from_stock

Sean Davis noreply at xfce.org
Sun Aug 25 14:46:01 CEST 2013


Updating branch refs/heads/bluesabre/gtk3
         to ddeff8b44c7ef10b242dccd47dc9702a3a8cadd9 (commit)
       from bf76222ef098d24a0b7810562d0166fe4befe985 (commit)

commit ddeff8b44c7ef10b242dccd47dc9702a3a8cadd9
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Aug 25 08:45:19 2013 -0400

    Replace new_from_stock

 src/parole-medialist.c           |    2 +-
 src/plugins/tray/tray-provider.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 721a519..7c78959 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -1123,7 +1123,7 @@ parole_media_list_add_open_containing_folder (ParoleMediaList *list, GtkWidget *
             
             /* Clear */
             mi = gtk_image_menu_item_new_with_label (_("Open Containing Folder"));
-            img = gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_MENU);
+            img = gtk_image_new_from_icon_name("document-open-symbolic", GTK_ICON_SIZE_MENU);
             gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
             gtk_widget_set_sensitive (mi, TRUE);
             gtk_widget_show (mi);
diff --git a/src/plugins/tray/tray-provider.c b/src/plugins/tray/tray-provider.c
index a82ca38..101229c 100644
--- a/src/plugins/tray/tray-provider.c
+++ b/src/plugins/tray/tray-provider.c
@@ -339,7 +339,7 @@ delete_event_cb (GtkWidget *widget, GdkEvent *ev, TrayProvider *tray)
     minimize = gtk_dialog_add_button(   GTK_DIALOG(dialog),
                                         _("Minimize to tray"),
                                         GTK_RESPONSE_OK );
-    img = gtk_image_new_from_stock (GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_BUTTON);
+    img = gtk_image_new_from_icon_name ("go-down", GTK_ICON_SIZE_BUTTON);
     gtk_button_set_image (GTK_BUTTON (minimize), img);
     
     gtk_dialog_add_button(  GTK_DIALOG(dialog),


More information about the Xfce4-commits mailing list