Show Queue menu and toolbuttons properly.

This commit is contained in:
Andrew Resch 2007-10-04 00:53:39 +00:00
parent 06e148c2ed
commit 2707afc9c8
3 changed files with 5 additions and 0 deletions

1
TODO
View File

@ -12,3 +12,4 @@
* Restart daemon function * Restart daemon function
* Sync the details pane to current trunk * Sync the details pane to current trunk
* Docstrings! * Docstrings!
* Change core to use dbus variants instead of byte-arrays

View File

@ -112,6 +112,7 @@ class GtkUI:
queue_image.set_from_stock(gtk.STOCK_SORT_ASCENDING, gtk.ICON_SIZE_MENU) queue_image.set_from_stock(gtk.STOCK_SORT_ASCENDING, gtk.ICON_SIZE_MENU)
queue_menuitem.set_image(queue_image) queue_menuitem.set_image(queue_image)
queue_menuitem.set_submenu(menu) queue_menuitem.set_submenu(menu)
queue_menuitem.show_all()
self.plugin.get_torrentmenu().append(queue_menuitem) self.plugin.get_torrentmenu().append(queue_menuitem)
## Menu callbacks ## ## Menu callbacks ##

View File

@ -75,6 +75,9 @@ class ToolBar:
# Append the button to the toolbar # Append the button to the toolbar
self.toolbar.insert(toolbutton, -1) self.toolbar.insert(toolbutton, -1)
# Show the new toolbutton
toolbutton.show()
return return
def add_separator(self, position=None): def add_separator(self, position=None):