diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-09-18 06:40:07 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-09-18 06:40:07 +0000 |
commit | 556d9ffae849975824b98efc4a1b66fc2ef1efed (patch) | |
tree | c83b86fc6af7ca67af0d016770d0e87cfe686bf5 /gtk-recordmydesktop | |
parent | 775d72f765f238a6e00674987070b34357d7388e (diff) |
area args fix
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@60 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r-- | gtk-recordmydesktop/rmdTrayIcon.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk-recordmydesktop/rmdTrayIcon.py b/gtk-recordmydesktop/rmdTrayIcon.py index 77423a5..2504cbe 100644 --- a/gtk-recordmydesktop/rmdTrayIcon.py +++ b/gtk-recordmydesktop/rmdTrayIcon.py @@ -131,11 +131,13 @@ class trayIcon(object): if self.values[3] == 1 and self.values[13] == 1 : execargs.append("--no-cond-shared") - if self.values[5][0]>=0 and self.values[5][1]>=0 and self.values[5][2]>0 and self.values[5][3]>0: + if self.values[5][0]>0 : execargs.append('-x') execargs.append('%d'%self.values[5][0]) + if self.values[5][1]>0: execargs.append('-y') execargs.append('%d'%self.values[5][1]) + if self.values[5][2]>0 and self.values[5][3]>0: execargs.append('-width') execargs.append('%d'%(self.values[5][2]-self.values[5][0])) execargs.append('-height') |