gimp r26038 - in branches/gimp-2-4: . plug-ins/pygimp



Author: neo
Date: Wed Jul  2 15:07:16 2008
New Revision: 26038
URL: http://svn.gnome.org/viewvc/gimp?rev=26038&view=rev

Log:
2008-07-02  Sven Neumann  <sven gimp org>

	* plug-ins/pygimp/gimpui.py: reverted this change, we don't add
	new features in a stable release series.


Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/plug-ins/pygimp/gimpui.py

Modified: branches/gimp-2-4/plug-ins/pygimp/gimpui.py
==============================================================================
--- branches/gimp-2-4/plug-ins/pygimp/gimpui.py	(original)
+++ branches/gimp-2-4/plug-ins/pygimp/gimpui.py	Wed Jul  2 15:07:16 2008
@@ -172,8 +172,6 @@
             color = default
         elif isinstance(default, tuple):
             color = apply(gimpcolor.RGB, default)
-        elif isinstance(default, str):
-            color = gimpcolor.rgb_parse_css(default)
         ColorButton.__init__(self, _("Python-Fu Color Selection"), 100, 20,
                              color, COLOR_AREA_FLAT)
     def get_value(self):



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