[Xfce4-commits] [xfce/thunar] 04/05: Replace a couple of stock icons

noreply at xfce.org noreply at xfce.org
Sun Jan 14 20:36:18 CET 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 90af7d7506a4b63bc38ff684f90e7fdcdc0a2f35
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Jan 14 16:30:35 2018 -0300

    Replace a couple of stock icons
---
 thunar/thunar-shortcuts-view.c | 8 ++++----
 thunar/thunar-tree-view.c      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index e457423..d56f7ce 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -1103,8 +1103,8 @@ thunar_shortcuts_view_context_menu (ThunarShortcutsView *view,
   gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
   gtk_widget_show (item);
 
-  /* set the stock icon */
-  image = gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_MENU);
+  /* set the icon */
+  image = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU);
   gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 
   /* append the "Open in New Tab" menu action */
@@ -1265,8 +1265,8 @@ thunar_shortcuts_view_context_menu (ThunarShortcutsView *view,
       gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
       gtk_widget_show (item);
 
-      /* set the remove stock icon */
-      image = gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU);
+      /* set the remove icon */
+      image = gtk_image_new_from_icon_name ("list-remove", GTK_ICON_SIZE_MENU);
       gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 
       /* append the rename menu item */
diff --git a/thunar/thunar-tree-view.c b/thunar/thunar-tree-view.c
index 7711b92..da5a354 100644
--- a/thunar/thunar-tree-view.c
+++ b/thunar/thunar-tree-view.c
@@ -1454,7 +1454,7 @@ thunar_tree_view_context_menu (ThunarTreeView *view,
               gtk_widget_show (item);
 
               /* set the icon */
-              image = gtk_image_new_from_stock (THUNAR_STOCK_TRASH_FULL, GTK_ICON_SIZE_MENU);
+              image = gtk_image_new_from_icon_name ("user-trash-full", GTK_ICON_SIZE_MENU);
               gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
             }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list