In .:
2006-12-30 Don Allingham <don@gramps-project.org> * src/GrampsDb/_ReadGedcom.py: Map to existing places if possible * src/Merge/_MergePerson.py: Merge identical names * src/ViewManager.py: bind <Alt>N and <Alt>P to next and previous view In help: 2006-12-30 Don Allingham <don@gramps-project.org> * C/gramps.xml: start the rework of the key binding sections svn: r7861
This commit is contained in:
@ -146,6 +146,7 @@ uidefault = '''<ui>
|
||||
<menu action="HelpMenu">
|
||||
<menuitem action="UserManual"/>
|
||||
<menuitem action="FAQ"/>
|
||||
<menuitem action="KeyBindings"/>
|
||||
<menuitem action="TipOfDay"/>
|
||||
<menuitem action="PluginStatus"/>
|
||||
<separator/>
|
||||
@ -338,6 +339,7 @@ class ViewManager:
|
||||
('PluginStatus', None,_('_Plugin status'), None, None,
|
||||
self.plugin_status),
|
||||
('FAQ', None, _('_FAQ'), None, None, self.faq_activate),
|
||||
('KeyBindings', None, _('_Key Bindings'), None, None, self.key_bindings),
|
||||
('UserManual', gtk.STOCK_HELP, _('_User Manual'), 'F1', None,
|
||||
self.manual_activate),
|
||||
('TipOfDay', None, _('Tip of the day'), None, None,
|
||||
@ -617,6 +619,14 @@ class ViewManager:
|
||||
except gobject.GError, msg:
|
||||
QuestionDialog.ErrorDialog(_("Could not open help"), str(msg))
|
||||
|
||||
def key_bindings(self, obj):
|
||||
"""Display FAQ"""
|
||||
try:
|
||||
import GrampsDisplay
|
||||
GrampsDisplay.help('keybind-lists')
|
||||
except gobject.GError, msg:
|
||||
QuestionDialog.ErrorDialog(_("Could not open help"), str(msg))
|
||||
|
||||
def tip_of_day_activate(self, obj):
|
||||
"""Display Tip of the day"""
|
||||
TipOfDay.TipOfDay(self.uistate)
|
||||
|
Reference in New Issue
Block a user