summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-16 17:24:00 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-16 17:24:00 +0000
commit1e7f092a671b7ceb684b89483418e3b29ae4d851 (patch)
tree4f22ed86ccc26f0e2ff6e62015155c4abfae7d83 /gtk-recordmydesktop
parent83c33d2e54e18c1846cba388fbea9b3333a6b720 (diff)
rmdSimple.py: added loading/saving for "Extra Options".
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@354 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r--gtk-recordmydesktop/src/rmdSimple.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk-recordmydesktop/src/rmdSimple.py b/gtk-recordmydesktop/src/rmdSimple.py
index ade5173..381dc8b 100644
--- a/gtk-recordmydesktop/src/rmdSimple.py
+++ b/gtk-recordmydesktop/src/rmdSimple.py
@@ -330,6 +330,11 @@ class simpleWidget(object):
self.values.append(rmdConfig.default_values[25])
else:
self.values.append(int(savefile.readline()))
+ p=savefile.readline()
+ if p=='':
+ self.values.append(rmdConfig.default_values[26])
+ else:
+ self.values.append(savefile.readline().replace("\n",""))
return True
except:
return False
@@ -392,6 +397,8 @@ class simpleWidget(object):
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.write("#Extra options\n")
+ savefile.write("%s\n"%self.values[26])
savefile.flush()
savefile.close()
return True
© All Rights Reserved