summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdPrefsWidget.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-04 22:20:20 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-04 22:20:20 +0000
commit7d077ad3d11417086eb1cf7414d1177bfdd8219a (patch)
treee063843da9f82c4147d015f7eb2ace2b4206e267 /qt-recordmydesktop/src/rmdPrefsWidget.py
parentf1a9989a2a735fac913184218e2f9f7443d0aaad (diff)
rmdPrefsWidget.py, rmdSimple.py: added shortcuts for actions
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@456 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop/src/rmdPrefsWidget.py')
-rw-r--r--qt-recordmydesktop/src/rmdPrefsWidget.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-recordmydesktop/src/rmdPrefsWidget.py b/qt-recordmydesktop/src/rmdPrefsWidget.py
index 72f5d91..7ba2786 100644
--- a/qt-recordmydesktop/src/rmdPrefsWidget.py
+++ b/qt-recordmydesktop/src/rmdPrefsWidget.py
@@ -357,7 +357,11 @@ class prefsWidget(object):
self.optionsOpen=optionsOpen
self.window = QtGui.QWidget()
self.window.closeEvent= self.destroy
-
+ esc_sh=QtGui.QShortcut(QtGui.QKeySequence("Esc"),self.window)
+ self.window.connect(esc_sh,
+ QtCore.SIGNAL("activated()"),
+ self.window,
+ QtCore.SLOT("close()"))
self.window.setWindowTitle("recordMyDesktop: "+smplButtonStrings[0])
self.__subWidgets__()
self.__makeCons__()
© All Rights Reserved