added some sounds options to the glade file (though they do not work in the code yet)

This commit is contained in:
punkrockguy318 2008-06-07 00:12:07 +00:00
parent 9eb1841bd8
commit 73aec896e3
2 changed files with 73 additions and 8 deletions

4
gfceu
View File

@ -519,10 +519,12 @@ class WidgetsWrapper:
# main
if __name__ == '__main__':
# Parse options
fceux_binary = find_binary('fceux')
parser = OptionParser(version='%prog '+ version)
parser.add_option('-b', '--binary', action="store", type="string", dest="fceux_binary")
parser.parse_args()
fceux_binary = find_binary('fceux')
if fceux_binary == None:
gfceu_error('Could not find the fceu binary.\n\
Ensure that FCE Ultra is installed and in the $PATH.\n\

View File

@ -202,6 +202,8 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
<property name="pack_type">GTK_PACK_END</property>
<property name="position">2</property>
</packing>
</child>
@ -213,6 +215,7 @@
<child>
<widget class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="label" translatable="yes">Input</property>
</widget>
<packing>
@ -467,17 +470,77 @@ Invalid options may cause GFCE Ultra to perform incorrectly.
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="sound_check">
<widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Enable _Sound</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="spacing">5</property>
<child>
<widget class="GtkCheckButton" id="sound_check">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Enable _Sound</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="padding">5</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="soundq_check">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Extra _Quaility</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="padding">5</property>
<property name="position">1</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="label" translatable="yes">Sample rate:</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="soundrate">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="text" translatable="yes">11000</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
<property name="padding">5</property>
<property name="position">2</property>
</packing>
</child>
</widget>
<packing>
<property name="position">4</property>
<property name="tab_fill">False</property>
</packing>
</child>
<child>