From e8cc565edb1ca2af2e13e2cfdbed0508d47e36fc Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 11 Jan 2013 22:57:22 +0400 Subject: [PATCH] fix export in history manager --- src/history_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history_manager.py b/src/history_manager.py index b1d007826..18c32b2c3 100644 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -458,7 +458,7 @@ class HistoryManager: if event.button == 3: # right click xml = gtkgui_helpers.get_gtk_builder('history_manager.ui', 'context_menu') - if widget.name != 'jids_listview': + if gtk.Buildable.get_name(widget) != 'jids_listview': xml.get_object('export_menuitem').hide() xml.get_object('delete_menuitem').connect('activate', self.on_delete_menuitem_activate, widget)