Fix -fu slider behavior (bug #155103). Patch by Joao S. O. Bueno.
2004-11-16 Manish Singh <yosh@gimp.org>
* plug-ins/common/gimpfu.py: Fix -fu slider behavior (bug #155103).
Patch by Joao S. O. Bueno.
This commit is contained in:
parent
5ab6167570
commit
f499a2aacd
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-11-16 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/gimpfu.py: Fix -fu slider behavior (bug #155103).
|
||||
Patch by Joao S. O. Bueno.
|
||||
|
||||
2004-11-16 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/glasstile.c: Remove unnecessary G_OBJECT() casts.
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ def _interact(func_name, start_params):
|
|||
def __init__(self, default=0, bounds=(0, 100, 5)):
|
||||
self.adj = gtk.Adjustment(default, bounds[0],
|
||||
bounds[1], bounds[2],
|
||||
bounds[2], bounds[2])
|
||||
bounds[2], 0)
|
||||
gtk.HScale.__init__(self, self.adj)
|
||||
def get_value(self):
|
||||
return self.adj.value
|
||||
|
|
@ -320,7 +320,7 @@ def _interact(func_name, start_params):
|
|||
def __init__(self, default=0, bounds=(0, 100, 5)):
|
||||
self.adj = gtk.Adjustment(default, bounds[0],
|
||||
bounds[1], bounds[2],
|
||||
bounds[2], bounds[2])
|
||||
bounds[2], 0)
|
||||
gtk.SpinButton.__init__(self, self.adj, 1, 0)
|
||||
def get_value(self):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue