From e56d5a56578a26c8dc67ee710c035432e8e11596 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 24 Aug 2012 17:26:00 +0400 Subject: [PATCH] Add Keyboard Shortcuts menuitem to Help menu --- data/gui/roster_window.ui | 17 ++++++++++++++++- src/roster_window.py | 4 ++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/data/gui/roster_window.ui b/data/gui/roster_window.ui index 3a4ced776..a0fd915e2 100644 --- a/data/gui/roster_window.ui +++ b/data/gui/roster_window.ui @@ -12,9 +12,9 @@ - + @@ -282,6 +282,16 @@ + + + Keyboard Shortcuts + True + True + image14 + False + + + True @@ -467,4 +477,9 @@ gtk-disconnect 1 + + True + gtk-info + 1 + diff --git a/src/roster_window.py b/src/roster_window.py index ca0aec7c1..d882ba3fc 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3978,6 +3978,10 @@ class RosterWindow: helpers.launch_browser_mailer('url', 'http://trac.gajim.org/wiki/GajimFaq') + def on_keyboard_shortcuts_menuitem_activate(self, widget): + helpers.launch_browser_mailer('url', + 'http://trac.gajim.org/wiki/KeyboardShortcuts') + def on_features_menuitem_activate(self, widget): features_window.FeaturesWindow()