From 556d9ffae849975824b98efc4a1b66fc2ef1efed Mon Sep 17 00:00:00 2001 From: iovar Date: Mon, 18 Sep 2006 06:40:07 +0000 Subject: area args fix git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@60 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- gtk-recordmydesktop/rmdTrayIcon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk-recordmydesktop') 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') -- cgit v1.2.3