diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-06-16 17:28:08 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-06-16 17:28:08 +0000 |
commit | 8a9baf2c4c7f12c3d20e625ab2d7dccc59bb337d (patch) | |
tree | 2d114cc25638beefafb07796b058e779609206a0 /gtk-recordmydesktop/src | |
parent | 23a14fe22674e9f62848f56ad01158dce149913f (diff) |
rmdPrefsWidget.py: Added a text entry on the misc page named "Extra Options", through which users can specify arguments the same way as they would in the commandline.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@356 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src')
-rw-r--r-- | gtk-recordmydesktop/src/rmdPrefsWidget.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk-recordmydesktop/src/rmdPrefsWidget.py b/gtk-recordmydesktop/src/rmdPrefsWidget.py index de0e414..1a587ae 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(16): + for i in range(17): self.tooltips.set_tip(self.eboxes[i],prefTooltipLabels[i]) self.tooltips.set_tip(self.jack_ebox,prefJacktip) @@ -66,6 +66,7 @@ class prefsWidget(object): self.__getSelectedPorts__() self.values[24]=self.tooltipsComboBox.get_active() self.values[25]=self.rFrameComboBox.get_active() + self.values[26]=self.extraOptsEntry.get_text().strip() self.window.destroy() self.optionsOpen[0]=0 @@ -234,7 +235,7 @@ class prefsWidget(object): self.boxes[9].pack_end(self.deviceEntry,expand=False,fill=False) #misc page - for i in xrange(10,16): + for i in xrange(10,17): self.labels[i]=gtk.Label(prefLabelStrings[i]) self.labels[i].set_justify(gtk.JUSTIFY_LEFT) self.boxes[i]=gtk.HBox(homogeneous=False, spacing=0) @@ -287,7 +288,12 @@ class prefsWidget(object): self.rFrameComboBox.show() self.boxes[15].pack_end(self.rFrameComboBox,expand=False,fill=False) - for i in range(16): + 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) + + for i in range(17): self.boxes[i].show() self.eboxes[i].show() |