From 7f399d7c3c68c67e34241f91a1c9776049ae3ca7 Mon Sep 17 00:00:00 2001 From: iovar Date: Sun, 8 Jul 2007 15:49:23 +0000 Subject: 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 --- gtk-recordmydesktop/src/rmdTrayIcon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk-recordmydesktop/src/rmdTrayIcon.py') 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]) -- cgit v1.2.3