diff options
-rw-r--r-- | qt-recordmydesktop/src/rmdPrefsWidget.py | 5 | ||||
-rw-r--r-- | qt-recordmydesktop/src/rmdSimple.py | 5 |
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): |