summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src/rmdTrayIcon.py
diff options
context:
space:
mode:
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