summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src/rmdTrayIcon.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
commit7f399d7c3c68c67e34241f91a1c9776049ae3ca7 (patch)
tree0b9f20800a5f7b9345c18383dfd612ec2fb2f564 /gtk-recordmydesktop/src/rmdTrayIcon.py
parent16586bbc661ab6edafd819cb4cda0fda87d8be52 (diff)
rmdConfig.py.in, rmdPrefsWidget.py, rmdSimple.py,
rmdStrings.py, rmdTrayIcon.py: made area resting after every capture optional. The area is also saved in the options file, if reseting is disabled. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@376 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src/rmdTrayIcon.py')
-rw-r--r--gtk-recordmydesktop/src/rmdTrayIcon.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk-recordmydesktop/src/rmdTrayIcon.py b/gtk-recordmydesktop/src/rmdTrayIcon.py
index bbb88d5..560d2bf 100644
--- a/gtk-recordmydesktop/src/rmdTrayIcon.py
+++ b/gtk-recordmydesktop/src/rmdTrayIcon.py
@@ -161,8 +161,9 @@ class trayIcon(object):
self.execargs.append('%d'%(self.parent.values[5][2]-self.parent.values[5][0]))
self.execargs.append('-height')
self.execargs.append('%d'%(self.parent.values[5][3]-self.parent.values[5][1]))
- for i in range(4):
- self.parent.values[5][i]=-1
+ if(not self.parent.values[14]):
+ for i in range(4):
+ self.parent.values[5][i]=-1
if self.parent.values[6]>0:
self.execargs.append('-delay')
self.execargs.append('%d'%self.parent.values[6])
© All Rights Reserved