summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-06 18:51:16 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-06 18:51:16 +0000
commit0627c4a4f080450db432edda78eba1a55358b2a1 (patch)
tree2460919e019ddb45215aec95744937865f645d23 /qt-recordmydesktop
parent8f346c1f0dedde55cd21cc76c1c45fb60fc51c86 (diff)
rmdPrefsWidget.py, rmdSimple.py: added a couple more shortcuts
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@461 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop')
-rw-r--r--qt-recordmydesktop/src/rmdPrefsWidget.py5
-rw-r--r--qt-recordmydesktop/src/rmdSimple.py5
2 files changed, 9 insertions, 1 deletions
diff --git a/qt-recordmydesktop/src/rmdPrefsWidget.py b/qt-recordmydesktop/src/rmdPrefsWidget.py
index 7ba2786..3824822 100644
--- a/qt-recordmydesktop/src/rmdPrefsWidget.py
+++ b/qt-recordmydesktop/src/rmdPrefsWidget.py
@@ -362,6 +362,11 @@ class prefsWidget(object):
QtCore.SIGNAL("activated()"),
self.window,
QtCore.SLOT("close()"))
+ adv_sh=QtGui.QShortcut(QtGui.QKeySequence("Ctrl+p"),self.window)
+ self.window.connect(adv_sh,
+ QtCore.SIGNAL("activated()"),
+ self.window,
+ QtCore.SLOT("close()"))
self.window.setWindowTitle("recordMyDesktop: "+smplButtonStrings[0])
self.__subWidgets__()
self.__makeCons__()
diff --git a/qt-recordmydesktop/src/rmdSimple.py b/qt-recordmydesktop/src/rmdSimple.py
index 809c609..e86246e 100644
--- a/qt-recordmydesktop/src/rmdSimple.py
+++ b/qt-recordmydesktop/src/rmdSimple.py
@@ -260,7 +260,10 @@ class simpleWidget(object):
self.window.connect(hide_sh,
QtCore.SIGNAL("activated()"),
self.trayIcon.tray_popup._prefs_widget)
-
+ esc_sh=QtGui.QShortcut(QtGui.QKeySequence("Esc"),self.window)
+ self.window.connect(esc_sh,
+ QtCore.SIGNAL("activated()"),
+ self.trayIcon.tray_popup._prefs_widget)
def __sound_check__(self,widget=None):
© All Rights Reserved