[gimp] libgimpwidgets: don't use GIMP-specific icons for GimpPathEditor



commit 82737bf904937d4a70ec9604c847b7189d3d17a1
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 1 21:14:03 2016 +0200

    libgimpwidgets: don't use GIMP-specific icons for GimpPathEditor
    
    These are file search paths, not vector shape paths, so the new icons
    were using the wrong metaphor.
    
    This reverts the only functional part of commit
    92a9117ae0d5efc634e499c17b76831308f6fb0f, we should
    probably get rid of the icons too (they are now unused).

 libgimpwidgets/gimppatheditor.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimppatheditor.c b/libgimpwidgets/gimppatheditor.c
index 48997ec..5966ff7 100644
--- a/libgimpwidgets/gimppatheditor.c
+++ b/libgimpwidgets/gimppatheditor.c
@@ -167,7 +167,7 @@ gimp_path_editor_init (GimpPathEditor *editor)
   gtk_box_pack_start (GTK_BOX (button_box), button, TRUE, TRUE, 0);
   gtk_widget_show (button);
 
-  image = gtk_image_new_from_icon_name (GIMP_STOCK_PATH_NEW, GTK_ICON_SIZE_BUTTON);
+  image = gtk_image_new_from_icon_name ("document-new", GTK_ICON_SIZE_BUTTON);
   gtk_container_add (GTK_CONTAINER (button), image);
   gtk_widget_show (image);
 
@@ -180,7 +180,7 @@ gimp_path_editor_init (GimpPathEditor *editor)
   gtk_box_pack_start (GTK_BOX (button_box), button, TRUE, TRUE, 0);
   gtk_widget_show (button);
 
-  image = gtk_image_new_from_icon_name (GIMP_STOCK_PATH_UP, GTK_ICON_SIZE_BUTTON);
+  image = gtk_image_new_from_icon_name ("go-up", GTK_ICON_SIZE_BUTTON);
   gtk_container_add (GTK_CONTAINER (button), image);
   gtk_widget_show (image);
 
@@ -193,7 +193,7 @@ gimp_path_editor_init (GimpPathEditor *editor)
   gtk_box_pack_start (GTK_BOX (button_box), button, TRUE, TRUE, 0);
   gtk_widget_show (button);
 
-  image = gtk_image_new_from_icon_name (GIMP_STOCK_PATH_DOWN, GTK_ICON_SIZE_BUTTON);
+  image = gtk_image_new_from_icon_name ("go-down", GTK_ICON_SIZE_BUTTON);
   gtk_container_add (GTK_CONTAINER (button), image);
   gtk_widget_show (image);
 
@@ -206,7 +206,7 @@ gimp_path_editor_init (GimpPathEditor *editor)
   gtk_box_pack_start (GTK_BOX (button_box), button, TRUE, TRUE, 0);
   gtk_widget_show (button);
 
-  image = gtk_image_new_from_icon_name (GIMP_STOCK_PATH_DELETE, GTK_ICON_SIZE_BUTTON);
+  image = gtk_image_new_from_icon_name ("edit-delete", GTK_ICON_SIZE_BUTTON);
   gtk_container_add (GTK_CONTAINER (button), image);
   gtk_widget_show (image);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]