From d9abbb87c9d5431a7ab8e49c1ba4e01bcc1ce01e Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Tue, 17 Mar 2009 04:23:25 +0000 Subject: Open object/file button added, now one can add more songs to listen any time --- (limited to 'ControlToolbar.py') 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) -- cgit v0.9.1