<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkActionGroup" id="actiongroup">
<child>
- <object class="GtkToggleAction" id="toolbar">
- <property name="label" translatable="yes">_Toolbar</property>
- <property name="tooltip" translatable="yes">Show a toolbar at the top of the window</property>
- <signal name="toggled" handler="on_toolbar_toggled" swapped="no"/>
+ <object class="GtkAction" id="game">
+ <property name="label">_Game</property>
+ <property name="short_label" translatable="yes">_Game</property>
</object>
</child>
<child>
- <object class="GtkAction" id="view">
- <property name="label" translatable="yes">_View</property>
+ <object class="GtkAction" id="open">
+ <property name="label">_Open...</property>
+ <property name="short_label">_Open</property>
+ <property name="tooltip">Quit the current game and load a new one</property>
+ <property name="stock_id">gtk-media-play</property>
+ <signal name="activate" handler="on_open_activate" swapped="no"/>
</object>
+ <accelerator key="o" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkAction" id="about">
- <property name="label">_About...</property>
- <property name="short_label">_About</property>
- <property name="tooltip">About this application</property>
- <property name="stock_id">gtk-about</property>
- <signal name="activate" handler="on_about_activate" swapped="no"/>
+ <object class="GtkAction" id="restore">
+ <property name="label">_Restore...</property>
+ <property name="short_label">_Restore</property>
+ <property name="tooltip">Restore a previously saved game</property>
+ <property name="stock_id">gtk-open</property>
+ <signal name="activate" handler="on_restore_activate" swapped="no"/>
</object>
+ <accelerator key="r" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkAction" id="help">
- <property name="label">_Help</property>
- <property name="short_label" translatable="yes">_Help</property>
+ <object class="GtkAction" id="save">
+ <property name="label">_Save</property>
+ <property name="short_label" translatable="yes">_Save</property>
+ <property name="tooltip">Save the game</property>
+ <property name="stock_id">gtk-save</property>
+ <signal name="activate" handler="on_save_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="preferences">
- <property name="label">P_references</property>
- <property name="short_label" translatable="yes">P_references</property>
- <property name="tooltip">Configure the application</property>
- <property name="stock_id">gtk-preferences</property>
- <signal name="activate" handler="on_preferences_activate" swapped="no"/>
+ <object class="GtkAction" id="quit_chimara">
+ <property name="label">_Quit Chimara</property>
+ <property name="short_label" translatable="yes">_Quit Chimara</property>
+ <property name="tooltip">Leave the program</property>
+ <property name="stock_id">gtk-quit</property>
+ <signal name="activate" handler="on_quit_chimara_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="paste">
- <property name="label">_Paste</property>
- <property name="short_label" translatable="yes">_Paste</property>
- <property name="tooltip">Paste the clipboard</property>
- <property name="stock_id">gtk-paste</property>
- <signal name="activate" handler="on_paste_activate" swapped="no"/>
+ <object class="GtkAction" id="command">
+ <property name="label">_Command</property>
+ <property name="short_label" translatable="yes">_Command</property>
</object>
</child>
<child>
- <object class="GtkAction" id="copy">
- <property name="label">_Copy</property>
- <property name="short_label" translatable="yes">_Copy</property>
- <property name="tooltip">Copy the selection</property>
- <property name="stock_id">gtk-copy</property>
- <signal name="activate" handler="on_copy_activate" swapped="no"/>
+ <object class="GtkAction" id="edit">
+ <property name="label">_Edit</property>
+ <property name="short_label" translatable="yes">_Edit</property>
</object>
</child>
<child>
- <object class="GtkAction" id="quit">
- <property name="label">_Quit</property>
- <property name="short_label" translatable="yes">_Quit</property>
- <property name="tooltip">Try to quit the game</property>
- <property name="stock_id">gtk-media-stop</property>
- <signal name="activate" handler="on_quit_activate" swapped="no"/>
+ <object class="GtkAction" id="stop">
+ <property name="label">_Stop Game</property>
+ <property name="short_label">_Stop</property>
+ <property name="tooltip">Immediately stop the running game</property>
+ <property name="stock_id">gtk-stop</property>
+ <signal name="activate" handler="on_stop_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="restart">
- <property name="label">Res_tart</property>
- <property name="short_label" translatable="yes">Res_tart</property>
- <property name="tooltip">Tell the game to restart</property>
- <property name="stock_id">gtk-media-rewind</property>
- <signal name="activate" handler="on_restart_activate" swapped="no"/>
+ <object class="GtkRecentAction" id="recent">
+ <property name="label">Open _Recent</property>
+ <property name="short_label" translatable="yes">Open _Recent</property>
+ <property name="limit">10</property>
+ <property name="sort_type">mru</property>
+ <signal name="item-activated" handler="on_recent_item_activated" swapped="no"/>
</object>
</child>
<child>
<accelerator key="z" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkRecentAction" id="recent">
- <property name="label">Open _Recent</property>
- <property name="short_label" translatable="yes">Open _Recent</property>
- <property name="limit">10</property>
- <property name="sort_type">mru</property>
- <signal name="item-activated" handler="on_recent_item_activated" swapped="no"/>
+ <object class="GtkAction" id="restart">
+ <property name="label">Res_tart</property>
+ <property name="short_label" translatable="yes">Res_tart</property>
+ <property name="tooltip">Tell the game to restart</property>
+ <property name="stock_id">gtk-media-rewind</property>
+ <signal name="activate" handler="on_restart_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="stop">
- <property name="label">_Stop Game</property>
- <property name="short_label">_Stop</property>
- <property name="tooltip">Immediately stop the running game</property>
- <property name="stock_id">gtk-stop</property>
- <signal name="activate" handler="on_stop_activate" swapped="no"/>
+ <object class="GtkAction" id="quit">
+ <property name="label">_Quit</property>
+ <property name="short_label" translatable="yes">_Quit</property>
+ <property name="tooltip">Try to quit the game</property>
+ <property name="stock_id">gtk-media-stop</property>
+ <signal name="activate" handler="on_quit_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="edit">
- <property name="label">_Edit</property>
- <property name="short_label" translatable="yes">_Edit</property>
+ <object class="GtkAction" id="copy">
+ <property name="label">_Copy</property>
+ <property name="short_label" translatable="yes">_Copy</property>
+ <property name="tooltip">Copy the selection</property>
+ <property name="stock_id">gtk-copy</property>
+ <signal name="activate" handler="on_copy_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="command">
- <property name="label">_Command</property>
- <property name="short_label" translatable="yes">_Command</property>
+ <object class="GtkAction" id="paste">
+ <property name="label">_Paste</property>
+ <property name="short_label" translatable="yes">_Paste</property>
+ <property name="tooltip">Paste the clipboard</property>
+ <property name="stock_id">gtk-paste</property>
+ <signal name="activate" handler="on_paste_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="quit_chimara">
- <property name="label">_Quit Chimara</property>
- <property name="short_label" translatable="yes">_Quit Chimara</property>
- <property name="tooltip">Leave the program</property>
- <property name="stock_id">gtk-quit</property>
- <signal name="activate" handler="on_quit_chimara_activate" swapped="no"/>
+ <object class="GtkAction" id="preferences">
+ <property name="label">P_references</property>
+ <property name="short_label" translatable="yes">P_references</property>
+ <property name="tooltip">Configure the application</property>
+ <property name="stock_id">gtk-preferences</property>
+ <signal name="activate" handler="on_preferences_activate" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkAction" id="save">
- <property name="label">_Save</property>
- <property name="short_label" translatable="yes">_Save</property>
- <property name="tooltip">Save the game</property>
- <property name="stock_id">gtk-save</property>
- <signal name="activate" handler="on_save_activate" swapped="no"/>
+ <object class="GtkAction" id="help">
+ <property name="label">_Help</property>
+ <property name="short_label" translatable="yes">_Help</property>
</object>
</child>
<child>
- <object class="GtkAction" id="restore">
- <property name="label">_Restore...</property>
- <property name="short_label">_Restore</property>
- <property name="tooltip">Restore a previously saved game</property>
- <property name="stock_id">gtk-open</property>
- <signal name="activate" handler="on_restore_activate" swapped="no"/>
+ <object class="GtkAction" id="about">
+ <property name="label">_About...</property>
+ <property name="short_label">_About</property>
+ <property name="tooltip">About this application</property>
+ <property name="stock_id">gtk-about</property>
+ <signal name="activate" handler="on_about_activate" swapped="no"/>
</object>
- <accelerator key="r" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkAction" id="open">
- <property name="label">_Open...</property>
- <property name="short_label">_Open</property>
- <property name="tooltip">Quit the current game and load a new one</property>
- <property name="stock_id">gtk-media-play</property>
- <signal name="activate" handler="on_open_activate" swapped="no"/>
+ <object class="GtkAction" id="view">
+ <property name="label" translatable="yes">_View</property>
</object>
- <accelerator key="o" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkAction" id="game">
- <property name="label">_Game</property>
- <property name="short_label" translatable="yes">_Game</property>
+ <object class="GtkToggleAction" id="toolbar">
+ <property name="label" translatable="yes">_Toolbar</property>
+ <property name="tooltip" translatable="yes">Show a toolbar at the top of the window</property>
+ <signal name="toggled" handler="on_toolbar_toggled" swapped="no"/>
</object>
</child>
</object>
<object class="GtkActionGroup" id="style-actiongroup">
<child>
- <object class="GtkToggleAction" id="align-center">
- <property name="label" translatable="yes">_Center</property>
- <property name="short_label" translatable="yes">_Center</property>
- <property name="stock_id">gtk-justify-center</property>
- <signal name="toggled" handler="on_toggle_center" swapped="no"/>
+ <object class="GtkToggleAction" id="align-left">
+ <property name="label">Align _left</property>
+ <property name="short_label">Align _left</property>
+ <property name="tooltip">Align text to the left</property>
+ <property name="stock_id">gtk-justify-left</property>
+ <signal name="toggled" handler="on_toggle_left" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkToggleAction" id="underline">
- <property name="label">_Underline</property>
- <property name="short_label">_Underline</property>
- <property name="tooltip">Underline the text</property>
- <property name="stock_id">gtk-underline</property>
- <signal name="toggled" handler="on_toggle_underline" swapped="no"/>
+ <object class="GtkToggleAction" id="align-justify">
+ <property name="label">Align _justify</property>
+ <property name="short_label">Align _justify</property>
+ <property name="tooltip">Justify the text</property>
+ <property name="stock_id">gtk-justify-fill</property>
+ <signal name="toggled" handler="on_toggle_justify" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkToggleAction" id="italic">
- <property name="label">_Italic</property>
- <property name="short_label">_Italic</property>
- <property name="tooltip">Print the text in italics</property>
- <property name="stock_id">gtk-italic</property>
- <signal name="toggled" handler="on_toggle_italic" swapped="no"/>
+ <object class="GtkToggleAction" id="align-right">
+ <property name="label">Align _right</property>
+ <property name="short_label">Align _right</property>
+ <property name="tooltip">Align text to the right</property>
+ <property name="stock_id">gtk-justify-right</property>
+ <signal name="toggled" handler="on_toggle_right" swapped="no"/>
</object>
</child>
<child>
</object>
</child>
<child>
- <object class="GtkToggleAction" id="align-right">
- <property name="label">Align _right</property>
- <property name="short_label">Align _right</property>
- <property name="tooltip">Align text to the right</property>
- <property name="stock_id">gtk-justify-right</property>
- <signal name="toggled" handler="on_toggle_right" swapped="no"/>
+ <object class="GtkToggleAction" id="italic">
+ <property name="label">_Italic</property>
+ <property name="short_label">_Italic</property>
+ <property name="tooltip">Print the text in italics</property>
+ <property name="stock_id">gtk-italic</property>
+ <signal name="toggled" handler="on_toggle_italic" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkToggleAction" id="align-justify">
- <property name="label">Align _justify</property>
- <property name="short_label">Align _justify</property>
- <property name="tooltip">Justify the text</property>
- <property name="stock_id">gtk-justify-fill</property>
- <signal name="toggled" handler="on_toggle_justify" swapped="no"/>
+ <object class="GtkToggleAction" id="underline">
+ <property name="label">_Underline</property>
+ <property name="short_label">_Underline</property>
+ <property name="tooltip">Underline the text</property>
+ <property name="stock_id">gtk-underline</property>
+ <signal name="toggled" handler="on_toggle_underline" swapped="no"/>
</object>
</child>
<child>
- <object class="GtkToggleAction" id="align-left">
- <property name="label">Align _left</property>
- <property name="short_label">Align _left</property>
- <property name="tooltip">Align text to the left</property>
- <property name="stock_id">gtk-justify-left</property>
- <signal name="toggled" handler="on_toggle_left" swapped="no"/>
+ <object class="GtkToggleAction" id="align-center">
+ <property name="label" translatable="yes">_Center</property>
+ <property name="short_label" translatable="yes">_Center</property>
+ <property name="stock_id">gtk-justify-center</property>
+ <signal name="toggled" handler="on_toggle_center" swapped="no"/>
</object>
</child>
</object>
</object>
</child>
</object>
+ <object class="GtkListStore" id="interpreters">
+ <columns>
+ <!-- column-name Format -->
+ <column type="guint"/>
+ <!-- column-name Interpreter -->
+ <column type="guint"/>
+ </columns>
+ </object>
<object class="GtkDialog" id="prefswindow">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button1">
- <property name="label">gtk-save</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="button2">
- <property name="label" translatable="yes">Reset</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_action_appearance">False</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
<child>
<object class="GtkButton" id="button-close">
<property name="label">gtk-close</property>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">2</property>
+ <property name="position">0</property>
</packing>
</child>
</object>
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
- <object class="GtkCheckButton" id="flep">
+ <object class="GtkVBox" id="vbox5">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="flep-label">
+ <object class="GtkFrame" id="frame2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label">Turn on flepping</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkCheckButton" id="flep">
+ <property name="label" translatable="yes">Turn on _flepping</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Whether to flep or not when gronking a bloop.</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label12">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes"><b>General settings</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
</child>
</object>
</child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkTable" id="table1">
<property name="visible">True</property>
<object class="GtkToggleToolButton" id="toolbutton-left">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Align _left</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-justify-left</property>
<object class="GtkToggleToolButton" id="toolbutton-center">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Align _center</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-justify-center</property>
<object class="GtkToggleToolButton" id="toolbutton-right">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Align _right</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-justify-right</property>
<object class="GtkToggleToolButton" id="toolbutton-justify">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Align _justify</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-justify-fill</property>
<object class="GtkToggleToolButton" id="toolbutton-bold">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">_Bold</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-bold</property>
<object class="GtkToggleToolButton" id="toolbutton-italic">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">_Italic</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-italic</property>
<object class="GtkToggleToolButton" id="toolbutton-underline">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">_Underline</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-underline</property>
<object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="spacing">6</property>
<child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <object class="GtkTreeView" id="interpreters_view">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Which interpreter to use by default for each story format</property>
+ <property name="model">interpreters</property>
+ <property name="headers_visible">False</property>
+ <property name="headers_clickable">False</property>
+ <property name="rules_hint">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label10">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes"><b>Preferred interpreters</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
</child>
<child>
- <placeholder/>
+ <object class="GtkHBox" id="hbox3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label11">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Look for _resource files in:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">blorb_file_chooser</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFileChooserButton" id="blorb_file_chooser">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="tooltip_text" translatable="yes">Where to look for Blorb resource files containing graphics and sound; normally, these are part of the story file itself, but they are provided as separate files in some older games.</property>
+ <property name="action">select-folder</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
</child>
</object>
<packing>
</object>
</child>
<action-widgets>
- <action-widget response="0">button1</action-widget>
- <action-widget response="0">button2</action-widget>
<action-widget response="0">button-close</action-widget>
</action-widgets>
</object>