help connection to wiki page

svn: r14752
This commit is contained in:
Erik De Richter 2010-03-11 10:10:58 +00:00
parent d277539f2b
commit 78430cb207

View File

@ -101,7 +101,7 @@ class EditEventRef(EditReference):
def _connect_signals(self): def _connect_signals(self):
self.define_ok_button(self.top.get_object('ok'),self.ok_clicked) self.define_ok_button(self.top.get_object('ok'),self.ok_clicked)
self.define_cancel_button(self.top.get_object('cancel')) self.define_cancel_button(self.top.get_object('cancel'))
self.define_help_button(self.top.get_object('help'),self.on_help_button_clicked) self.define_help_button(self.top.get_object('help'), WIKI_HELP_PAGE, WIKI_HELP_SEC)
def _connect_db_signals(self): def _connect_db_signals(self):
""" """
@ -259,10 +259,6 @@ class EditEventRef(EditReference):
self.close() self.close()
def on_help_button_clicked(self, obj):
"""Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
class EditFamilyEventRef(EditEventRef): class EditFamilyEventRef(EditEventRef):
def __init__(self, state, uistate, track, event, event_ref, update): def __init__(self, state, uistate, track, event, event_ref, update):