summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src/rmdPrefsWidget.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:49:23 +0000
commit7f399d7c3c68c67e34241f91a1c9776049ae3ca7 (patch)
tree0b9f20800a5f7b9345c18383dfd612ec2fb2f564 /gtk-recordmydesktop/src/rmdPrefsWidget.py
parent16586bbc661ab6edafd819cb4cda0fda87d8be52 (diff)
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
Diffstat (limited to 'gtk-recordmydesktop/src/rmdPrefsWidget.py')
-rw-r--r--gtk-recordmydesktop/src/rmdPrefsWidget.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/gtk-recordmydesktop/src/rmdPrefsWidget.py b/gtk-recordmydesktop/src/rmdPrefsWidget.py
index 1a587ae..050be4f 100644
--- a/gtk-recordmydesktop/src/rmdPrefsWidget.py
+++ b/gtk-recordmydesktop/src/rmdPrefsWidget.py
@@ -42,7 +42,7 @@ from rmdStrings import *
class prefsWidget(object):
def __tooltips__(self):
self.tooltips=gtk.Tooltips()
- for i in range(17):
+ for i in range(18):
self.tooltips.set_tip(self.eboxes[i],prefTooltipLabels[i])
self.tooltips.set_tip(self.jack_ebox,prefJacktip)
@@ -55,6 +55,7 @@ class prefsWidget(object):
self.values[9]=self.deviceEntry.get_text().replace(' ','')
self.values[12]=self.displayEntry.get_text().replace(' ','')
self.values[13]=self.sharedComboBox.get_active()
+ self.values[14]=self.areaResetComboBox.get_active()
# self.values[15]=self.thresSpinButton.get_value_as_int()
self.values[16]=self.quickComboBox.get_active()
self.values[17]=self.workdirEntry.get_text()
@@ -235,7 +236,7 @@ class prefsWidget(object):
self.boxes[9].pack_end(self.deviceEntry,expand=False,fill=False)
#misc page
- for i in xrange(10,17):
+ for i in xrange(10,18):
self.labels[i]=gtk.Label(prefLabelStrings[i])
self.labels[i].set_justify(gtk.JUSTIFY_LEFT)
self.boxes[i]=gtk.HBox(homogeneous=False, spacing=0)
@@ -288,12 +289,19 @@ class prefsWidget(object):
self.rFrameComboBox.show()
self.boxes[15].pack_end(self.rFrameComboBox,expand=False,fill=False)
+ self.areaResetComboBox = gtk.combo_box_new_text()
+ for i in range(2):
+ self.areaResetComboBox.append_text(prefStateStrings[i])
+ self.areaResetComboBox.set_active(self.values[14])
+ self.areaResetComboBox.show()
+ self.boxes[16].pack_end(self.areaResetComboBox,expand=False,fill=False)
+
self.extraOptsEntry= gtk.Entry(max=0)
self.extraOptsEntry.set_text(self.values[26])
self.extraOptsEntry.show()
- self.boxes[16].pack_end(self.extraOptsEntry,expand=False,fill=False)
+ self.boxes[17].pack_end(self.extraOptsEntry,expand=False,fill=False)
- for i in range(17):
+ for i in range(18):
self.boxes[i].show()
self.eboxes[i].show()
© All Rights Reserved