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
92a9117ae0, we should
probably get rid of the icons too (they are now unused).
This commit is contained in:
Michael Natterer 2016-10-01 21:14:03 +02:00
parent 0089a017f0
commit 82737bf904

View file

@ -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);