glade is moved to data/glade
This commit is contained in:
parent
5e6b016af1
commit
3d36c29d87
|
@ -369,7 +369,7 @@ class HistoryManager:
|
|||
|
||||
def on_listview_button_press_event(self, widget, event):
|
||||
if event.button == 3: # right click
|
||||
xml = gtk.glade.XML('history_manager.glade', 'context_menu', i18n.APP)
|
||||
xml = gtkgui_helpers.get_glade('history_manager.glade', 'context_menu')
|
||||
if widget.name != 'jids_listview':
|
||||
xml.get_widget('export_menuitem').hide()
|
||||
xml.get_widget('delete_menuitem').connect('activate',
|
||||
|
@ -384,7 +384,7 @@ class HistoryManager:
|
|||
return True
|
||||
|
||||
def on_export_menuitem_activate(self, widget):
|
||||
xml = gtk.glade.XML('history_manager.glade', 'filechooserdialog', i18n.APP)
|
||||
xml = gtkgui_helpers.get_glade('history_manager.glade', 'filechooserdialog')
|
||||
xml.signal_autoconnect(self)
|
||||
|
||||
dlg = xml.get_widget('filechooserdialog')
|
||||
|
|
Loading…
Reference in New Issue