From 2707afc9c83ec360ee496fc37442580be3ec4358 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 4 Oct 2007 00:53:39 +0000 Subject: [PATCH] Show Queue menu and toolbuttons properly. --- TODO | 1 + deluge/plugins/queue/queue/gtkui.py | 1 + deluge/ui/gtkui/toolbar.py | 3 +++ 3 files changed, 5 insertions(+) diff --git a/TODO b/TODO index 2a25d946c..52628f091 100644 --- a/TODO +++ b/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 diff --git a/deluge/plugins/queue/queue/gtkui.py b/deluge/plugins/queue/queue/gtkui.py index f4db6a9f3..30e301d60 100644 --- a/deluge/plugins/queue/queue/gtkui.py +++ b/deluge/plugins/queue/queue/gtkui.py @@ -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 ## diff --git a/deluge/ui/gtkui/toolbar.py b/deluge/ui/gtkui/toolbar.py index 95058e125..f975fc9b0 100644 --- a/deluge/ui/gtkui/toolbar.py +++ b/deluge/ui/gtkui/toolbar.py @@ -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):