Changed up and down buttons

I have replaced the plus and minus icons with up and down arrows.
This commit is contained in:
Bryan Schumaker 2010-11-25 22:40:31 -05:00
parent 3bf990f8c8
commit 4657c96179
1 changed files with 2 additions and 2 deletions

View File

@ -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()