gimp r27729 - in branches/gimp-2-6: . plug-ins/pygimp
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27729 - in branches/gimp-2-6: . plug-ins/pygimp
- Date: Thu, 27 Nov 2008 11:53:11 +0000 (UTC)
Author: neo
Date: Thu Nov 27 11:53:11 2008
New Revision: 27729
URL: http://svn.gnome.org/viewvc/gimp?rev=27729&view=rev
Log:
2008-11-27 Sven Neumann <sven gimp org>
Merged from trunk:
* plug-ins/pygimp/gimpfu.py (SpinnerEntry): let SpinnerEntry
return a float instead of trying to convert the value to an int.
Modified:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/plug-ins/pygimp/gimpfu.py
Modified: branches/gimp-2-6/plug-ins/pygimp/gimpfu.py
==============================================================================
--- branches/gimp-2-6/plug-ins/pygimp/gimpfu.py (original)
+++ branches/gimp-2-6/plug-ins/pygimp/gimpfu.py Thu Nov 27 11:53:11 2008
@@ -506,12 +506,6 @@
digits = 20
gtk.SpinButton.__init__(self, self.adj, step, int(digits))
- def get_value(self):
- try:
- return int(self.get_text())
- except ValueError, e:
- raise EntryValueError, e.args
-
class ToggleEntry(gtk.ToggleButton):
def __init__(self, default=0):
gtk.ToggleButton.__init__(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]