fix export in history manager
This commit is contained in:
parent
e3bc4ef020
commit
e8cc565edb
|
@ -458,7 +458,7 @@ class HistoryManager:
|
||||||
if event.button == 3: # right click
|
if event.button == 3: # right click
|
||||||
xml = gtkgui_helpers.get_gtk_builder('history_manager.ui',
|
xml = gtkgui_helpers.get_gtk_builder('history_manager.ui',
|
||||||
'context_menu')
|
'context_menu')
|
||||||
if widget.name != 'jids_listview':
|
if gtk.Buildable.get_name(widget) != 'jids_listview':
|
||||||
xml.get_object('export_menuitem').hide()
|
xml.get_object('export_menuitem').hide()
|
||||||
xml.get_object('delete_menuitem').connect('activate',
|
xml.get_object('delete_menuitem').connect('activate',
|
||||||
self.on_delete_menuitem_activate, widget)
|
self.on_delete_menuitem_activate, widget)
|
||||||
|
|
Loading…
Reference in New Issue