From 8a9baf2c4c7f12c3d20e625ab2d7dccc59bb337d Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 16 Jun 2007 17:28:08 +0000 Subject: 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 --- gtk-recordmydesktop/src/rmdPrefsWidget.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'gtk-recordmydesktop/src') 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() -- cgit v1.2.3