summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src/rmdSimple.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-03-17 03:11:39 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-03-17 03:11:39 +0000
commit4328d301756a616f02ccaeb992533b819bf51984 (patch)
tree5a8626f88f4bd5f87e0a9286dafa59c09ca0059d /gtk-recordmydesktop/src/rmdSimple.py
parent13473ebea685d81ded41d3b20f5aca633793e2c2 (diff)
added frame around capture area.
New file: src/rmdFrame.py git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@295 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src/rmdSimple.py')
-rw-r--r--gtk-recordmydesktop/src/rmdSimple.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk-recordmydesktop/src/rmdSimple.py b/gtk-recordmydesktop/src/rmdSimple.py
index 4110a4b..de40479 100644
--- a/gtk-recordmydesktop/src/rmdSimple.py
+++ b/gtk-recordmydesktop/src/rmdSimple.py
@@ -94,7 +94,7 @@ class simpleWidget(object):
while twidth>320 or self.factor<4:
twidth/=2
self.factor*=2
- self.image=sT.GtkThumbSelector(self.values[5],self.hidden,2000)
+ self.image=sT.GtkThumbSelector(self,self.values[5],self.hidden,2000)
self.image.show()
self.NWBox.pack_start(self.image,False,False)
@@ -336,6 +336,11 @@ class simpleWidget(object):
self.values.append(rmdConfig.default_values[24])
else:
self.values.append(int(savefile.readline()))
+ p=savefile.readline()
+ if p=='':
+ self.values.append(rmdConfig.default_values[25])
+ else:
+ self.values.append(int(savefile.readline()))
return True
except:
return False
@@ -396,6 +401,8 @@ class simpleWidget(object):
savefile.write("\n")
savefile.write("#Tooltips,1 disabled 0 enabled\n")
savefile.write("%d\n"%self.values[24])
+ savefile.write("#draw an on-screen frame, surrounding the capture area\n")
+ savefile.write("%d\n"%self.values[25])
savefile.flush()
savefile.close()
return True
© All Rights Reserved