Changed up and down buttons
I have replaced the plus and minus icons with up and down arrows.
This commit is contained in:
parent
3bf990f8c8
commit
4657c96179
|
@ -126,14 +126,14 @@ class RandomButton(gtk.ToggleButton):
|
|||
|
||||
class UpButton(Button):
|
||||
def __init__(self, callback):
|
||||
Button.__init__(self, gtk.STOCK_ADD)
|
||||
Button.__init__(self, gtk.STOCK_GO_UP)
|
||||
self.callback = callback
|
||||
def clicked(self, button):
|
||||
self.callback()
|
||||
|
||||
class DownButton(Button):
|
||||
def __init__(self, callback):
|
||||
Button.__init__(self, gtk.STOCK_REMOVE)
|
||||
Button.__init__(self, gtk.STOCK_GO_DOWN)
|
||||
self.callback = callback
|
||||
def clicked(self, button):
|
||||
self.callback()
|
||||
|
|
Loading…
Reference in New Issue