Show Queue menu and toolbuttons properly.
This commit is contained in:
parent
06e148c2ed
commit
2707afc9c8
1
TODO
1
TODO
|
@ -12,3 +12,4 @@
|
|||
* Restart daemon function
|
||||
* Sync the details pane to current trunk
|
||||
* Docstrings!
|
||||
* Change core to use dbus variants instead of byte-arrays
|
||||
|
|
|
@ -112,6 +112,7 @@ class GtkUI:
|
|||
queue_image.set_from_stock(gtk.STOCK_SORT_ASCENDING, gtk.ICON_SIZE_MENU)
|
||||
queue_menuitem.set_image(queue_image)
|
||||
queue_menuitem.set_submenu(menu)
|
||||
queue_menuitem.show_all()
|
||||
self.plugin.get_torrentmenu().append(queue_menuitem)
|
||||
|
||||
## Menu callbacks ##
|
||||
|
|
|
@ -75,6 +75,9 @@ class ToolBar:
|
|||
# Append the button to the toolbar
|
||||
self.toolbar.insert(toolbutton, -1)
|
||||
|
||||
# Show the new toolbutton
|
||||
toolbutton.show()
|
||||
|
||||
return
|
||||
|
||||
def add_separator(self, position=None):
|
||||
|
|
Loading…
Reference in New Issue