Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ControlToolbar.py
diff options
context:
space:
mode:
authorKushal Das <kushal@fedoraproject.org>2009-03-17 04:23:25 (GMT)
committer Kushal Das <kushal@fedoraproject.org>2009-03-17 04:23:25 (GMT)
commitd9abbb87c9d5431a7ab8e49c1ba4e01bcc1ce01e (patch)
treec137d69edacd4bfd8c01ecbd6d8663136fdba614 /ControlToolbar.py
parent0b80e3a0ae3ea4c77b4c6545d4a2a06d3df69c28 (diff)
Open object/file button added, now one can add more songs to listen any timeanothersong
Diffstat (limited to 'ControlToolbar.py')
-rw-r--r--ControlToolbar.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ControlToolbar.py b/ControlToolbar.py
index 12edc51..b9b80e1 100644
--- a/ControlToolbar.py
+++ b/ControlToolbar.py
@@ -43,6 +43,11 @@ class ControlToolbar(gtk.Toolbar):
self.toolbox = toolbox
self.jukebox = jukebox
+ self.open_button = gtk.ToolButton(gtk.STOCK_FILE)
+ self.open_button.show()
+ self.open_button.connect('clicked', jukebox.open_button_clicked_cb)
+ self.insert(self.open_button, -1)
+
self.prev_button = gtk.ToolButton(gtk.STOCK_MEDIA_PREVIOUS)
self.prev_button.show()
self.prev_button.connect('clicked', self.prev_button_clicked_cb)