gimp r28005 - in trunk: . app/tools



Author: neo
Date: Mon Feb  9 10:53:19 2009
New Revision: 28005
URL: http://svn.gnome.org/viewvc/gimp?rev=28005&view=rev

Log:
2009-02-09  Sven Neumann  <sven gimp org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): seems
	pointless to include the GIMP-specific GEGL operations as they
	can't be reasonably controlled by the generic GEGL tool user
	interface.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpgegltool.c

Modified: trunk/app/tools/gimpgegltool.c
==============================================================================
--- trunk/app/tools/gimpgegltool.c	(original)
+++ trunk/app/tools/gimpgegltool.c	Mon Feb  9 10:53:19 2009
@@ -353,16 +353,14 @@
 	  const gchar *stock_id;
 	  const gchar *label;
 
+	  if (g_str_has_prefix (opclass->name, "gimp:"))
+	    continue;
+
 	  if (g_str_has_prefix (opclass->name, "gegl:"))
 	    {
 	      label    = opclass->name + strlen ("gegl:");
 	      stock_id = GIMP_STOCK_GEGL;
 	    }
-	  else if (g_str_has_prefix (opclass->name, "gimp:"))
-	    {
-	      label    = opclass->name + strlen ("gimp:");
-	      stock_id = GIMP_STOCK_WILBER;
-	    }
 	  else
 	    {
 	      label    = opclass->name;



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