summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdTrayIcon.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-08-09 23:11:43 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-08-09 23:11:43 +0000
commitc364387c6657769e29ade8fe16038a1c9b6fa1e0 (patch)
tree57e4a0e606ec4c32c70d41b185fe5e399801063d /qt-recordmydesktop/src/rmdTrayIcon.py
parentb5244639d1b3e38b1c56e03e7f65b8da44970233 (diff)
rmdConfig.py.in, rmdFrame.py, rmdPrefsWidget.py,
rmdSelectThumb.py, rmdSimple.py, rmdStrings.py, rmdTrayIcon.py : Added follow mouse option in the Preferences Widget and all relevant functionality ( save/load , defaults, string/tooltip). Also added moveFrame method so that the frame can follow the mouse. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@406 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop/src/rmdTrayIcon.py')
-rw-r--r--qt-recordmydesktop/src/rmdTrayIcon.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/qt-recordmydesktop/src/rmdTrayIcon.py b/qt-recordmydesktop/src/rmdTrayIcon.py
index bd70af4..ae9b3cf 100644
--- a/qt-recordmydesktop/src/rmdTrayIcon.py
+++ b/qt-recordmydesktop/src/rmdTrayIcon.py
@@ -140,12 +140,14 @@ class trayIcon(object):
self.execargs.append("--full-shots")
if self.parent.values[13] == 1:
self.execargs.append("--no-shared")
- if self.parent.values[5][0]>0 :
- self.execargs.append('-x')
- self.execargs.append('%d'%self.parent.values[5][0])
- if self.parent.values[5][1]>0:
- self.execargs.append('-y')
- self.execargs.append('%d'%self.parent.values[5][1])
+
+ if self.parent.values[15]==1:
+ if self.parent.values[5][0]>0 :
+ self.execargs.append('-x')
+ self.execargs.append('%d'%self.parent.values[5][0])
+ if self.parent.values[5][1]>0:
+ self.execargs.append('-y')
+ self.execargs.append('%d'%self.parent.values[5][1])
if self.parent.values[5][2]>0 and self.parent.values[5][3]>0:
self.execargs.append('-width')
self.execargs.append('%d'%(self.parent.values[5][2]-self.parent.values[5][0]))
@@ -181,6 +183,8 @@ class trayIcon(object):
self.execargs.append('--compress-cache')
if self.parent.values[20] == True:
self.execargs.append('--overwrite')
+ if self.parent.values[15] == 0:
+ self.execargs.append('--follow-mouse')
if self.parent.values[22] == True:
self.execargs.append('-use-jack')
for i in self.parent.values[23]:
© All Rights Reserved