1978
1830
g_signal_connect_object (_tmp10_, "response", (GCallback) _iagno_propbox_response_cb_gtk_dialog_response, self, 0);
1979
1831
_tmp11_ = propbox;
1980
1832
g_signal_connect_object ((GtkWidget*) _tmp11_, "delete-event", (GCallback) _iagno_propbox_close_cb_gtk_widget_delete_event, self, 0);
1981
_tmp12_ = (GtkNotebook*) gtk_notebook_new ();
1833
_tmp12_ = (GtkGrid*) gtk_grid_new ();
1982
1834
_tmp13_ = g_object_ref_sink (_tmp12_);
1985
gtk_container_set_border_width ((GtkContainer*) _tmp14_, (guint) 5);
1988
gtk_container_add ((GtkContainer*) _tmp15_, (GtkWidget*) _tmp16_);
1989
_tmp17_ = _ ("Game");
1990
_tmp18_ = (GtkLabel*) gtk_label_new (_tmp17_);
1991
_tmp19_ = g_object_ref_sink (_tmp18_);
1993
_tmp20_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
1837
gtk_container_set_border_width ((GtkContainer*) _tmp14_, (guint) 6);
1839
gtk_grid_set_row_spacing (_tmp15_, (guint) 6);
1841
gtk_grid_set_column_spacing (_tmp16_, (guint) 18);
1844
gtk_container_add ((GtkContainer*) _tmp17_, (GtkWidget*) _tmp18_);
1845
_tmp19_ = _ ("Dark Player:");
1846
_tmp20_ = (GtkLabel*) gtk_label_new (_tmp19_);
1994
1847
_tmp21_ = g_object_ref_sink (_tmp20_);
1997
gtk_container_set_border_width ((GtkContainer*) _tmp22_, (guint) 12);
1850
gtk_misc_set_alignment ((GtkMisc*) _tmp22_, 0.0f, 0.5f);
1852
g_object_set ((GtkWidget*) _tmp23_, "expand", TRUE, NULL);
2000
1854
_tmp25_ = label;
2001
gtk_notebook_append_page (_tmp23_, (GtkWidget*) _tmp24_, (GtkWidget*) _tmp25_);
2002
_tmp26_ = (GtkGrid*) gtk_grid_new ();
1855
gtk_grid_attach (_tmp24_, (GtkWidget*) _tmp25_, 0, 0, 1, 1);
1856
_tmp26_ = (GtkComboBox*) gtk_combo_box_new ();
2003
1857
_tmp27_ = g_object_ref_sink (_tmp26_);
2006
gtk_grid_set_column_spacing (_tmp28_, (guint) 18);
2009
gtk_box_pack_start (_tmp29_, (GtkWidget*) _tmp30_, FALSE, FALSE, (guint) 0);
2010
_tmp31_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
2011
_tmp32_ = g_object_ref_sink (_tmp31_);
2015
gtk_box_pack_start (_tmp33_, (GtkWidget*) _tmp34_, FALSE, FALSE, (guint) 0);
2016
_tmp35_ = _ ("E_nable sounds");
2017
_tmp36_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp35_);
2018
_tmp37_ = g_object_ref_sink (_tmp36_);
2019
enable_sounds_button = _tmp37_;
2020
_tmp38_ = enable_sounds_button;
2021
_tmp39_ = self->priv->settings;
2022
_tmp40_ = g_settings_get_boolean (_tmp39_, "sound");
2023
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp38_, _tmp40_);
2024
_tmp41_ = enable_sounds_button;
2025
g_signal_connect_object ((GtkToggleButton*) _tmp41_, "toggled", (GCallback) _iagno_sound_select_gtk_toggle_button_toggled, self, 0);
2027
_tmp43_ = enable_sounds_button;
2028
gtk_box_pack_start (_tmp42_, (GtkWidget*) _tmp43_, FALSE, FALSE, (guint) 0);
2029
_tmp44_ = _ ("Dark");
2030
_tmp45_ = games_frame_new (_tmp44_);
2031
_tmp46_ = g_object_ref_sink (_tmp45_);
2035
gtk_grid_attach (_tmp47_, (GtkWidget*) _tmp48_, 0, 0, 1, 1);
2036
_tmp49_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
2037
_tmp50_ = g_object_ref_sink (_tmp49_);
2038
_g_object_unref0 (vbox);
2042
gtk_container_add ((GtkContainer*) _tmp51_, (GtkWidget*) _tmp52_);
2043
_tmp53_ = _ ("Human");
2044
_tmp54_ = (GtkRadioButton*) gtk_radio_button_new_with_label (NULL, _tmp53_);
2045
_tmp55_ = g_object_ref_sink (_tmp54_);
2046
computer_button = _tmp55_;
2047
_tmp56_ = self->priv->settings;
2048
_tmp57_ = g_settings_get_int (_tmp56_, "black-level");
2050
GtkRadioButton* _tmp58_;
2051
_tmp58_ = computer_button;
2052
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp58_, TRUE);
2054
_tmp59_ = computer_button;
2055
g_signal_connect_object ((GtkToggleButton*) _tmp59_, "toggled", (GCallback) _iagno_dark_human_cb_gtk_toggle_button_toggled, self, 0);
2057
_tmp61_ = computer_button;
2058
gtk_box_pack_start (_tmp60_, (GtkWidget*) _tmp61_, FALSE, FALSE, (guint) 0);
2059
_tmp62_ = computer_button;
2060
_tmp63_ = gtk_radio_button_get_group (_tmp62_);
2061
_tmp64_ = _ ("Level one");
2062
_tmp65_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp63_, _tmp64_);
2063
_tmp66_ = g_object_ref_sink (_tmp65_);
2064
_g_object_unref0 (computer_button);
2065
computer_button = _tmp66_;
2066
_tmp67_ = self->priv->settings;
2067
_tmp68_ = g_settings_get_int (_tmp67_, "black-level");
2069
GtkRadioButton* _tmp69_;
2070
_tmp69_ = computer_button;
2071
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp69_, TRUE);
2073
_tmp70_ = computer_button;
2074
g_signal_connect_object ((GtkToggleButton*) _tmp70_, "toggled", (GCallback) _iagno_dark_level_one_cb_gtk_toggle_button_toggled, self, 0);
2076
_tmp72_ = computer_button;
2077
gtk_box_pack_start (_tmp71_, (GtkWidget*) _tmp72_, FALSE, FALSE, (guint) 0);
2078
_tmp73_ = computer_button;
2079
_tmp74_ = gtk_radio_button_get_group (_tmp73_);
2080
_tmp75_ = _ ("Level two");
2081
_tmp76_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp74_, _tmp75_);
2082
_tmp77_ = g_object_ref_sink (_tmp76_);
2083
_g_object_unref0 (computer_button);
2084
computer_button = _tmp77_;
2085
_tmp78_ = self->priv->settings;
2086
_tmp79_ = g_settings_get_int (_tmp78_, "black-level");
2088
GtkRadioButton* _tmp80_;
2089
_tmp80_ = computer_button;
2090
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp80_, TRUE);
2092
_tmp81_ = computer_button;
2093
g_signal_connect_object ((GtkToggleButton*) _tmp81_, "toggled", (GCallback) _iagno_dark_level_two_cb_gtk_toggle_button_toggled, self, 0);
2095
_tmp83_ = computer_button;
2096
gtk_box_pack_start (_tmp82_, (GtkWidget*) _tmp83_, FALSE, FALSE, (guint) 0);
2097
_tmp84_ = computer_button;
2098
_tmp85_ = gtk_radio_button_get_group (_tmp84_);
2099
_tmp86_ = _ ("Level three");
2100
_tmp87_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp85_, _tmp86_);
2101
_tmp88_ = g_object_ref_sink (_tmp87_);
2102
_g_object_unref0 (computer_button);
2103
computer_button = _tmp88_;
2104
_tmp89_ = self->priv->settings;
2105
_tmp90_ = g_settings_get_int (_tmp89_, "black-level");
2107
GtkRadioButton* _tmp91_;
2108
_tmp91_ = computer_button;
2109
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp91_, TRUE);
2111
_tmp92_ = computer_button;
2112
g_signal_connect_object ((GtkToggleButton*) _tmp92_, "toggled", (GCallback) _iagno_dark_level_three_cb_gtk_toggle_button_toggled, self, 0);
2114
_tmp94_ = computer_button;
2115
gtk_box_pack_start (_tmp93_, (GtkWidget*) _tmp94_, FALSE, FALSE, (guint) 0);
2116
_tmp95_ = _ ("Light");
2117
_tmp96_ = games_frame_new (_tmp95_);
2118
_tmp97_ = g_object_ref_sink (_tmp96_);
2119
_g_object_unref0 (frame);
2123
gtk_grid_attach (_tmp98_, (GtkWidget*) _tmp99_, 1, 0, 1, 1);
2124
_tmp100_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
2125
_tmp101_ = g_object_ref_sink (_tmp100_);
2126
_g_object_unref0 (vbox);
2130
gtk_container_add ((GtkContainer*) _tmp102_, (GtkWidget*) _tmp103_);
2131
_tmp104_ = _ ("Human");
2132
_tmp105_ = (GtkRadioButton*) gtk_radio_button_new_with_label (NULL, _tmp104_);
2133
_tmp106_ = g_object_ref_sink (_tmp105_);
2134
_g_object_unref0 (computer_button);
2135
computer_button = _tmp106_;
2136
_tmp107_ = self->priv->settings;
2137
_tmp108_ = g_settings_get_int (_tmp107_, "white-level");
2138
if (_tmp108_ == 0) {
2139
GtkRadioButton* _tmp109_;
2140
_tmp109_ = computer_button;
2141
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp109_, TRUE);
2143
_tmp110_ = computer_button;
2144
g_signal_connect_object ((GtkToggleButton*) _tmp110_, "toggled", (GCallback) _iagno_light_human_cb_gtk_toggle_button_toggled, self, 0);
2146
_tmp112_ = computer_button;
2147
gtk_box_pack_start (_tmp111_, (GtkWidget*) _tmp112_, FALSE, FALSE, (guint) 0);
2148
_tmp113_ = computer_button;
2149
_tmp114_ = gtk_radio_button_get_group (_tmp113_);
2150
_tmp115_ = _ ("Level one");
2151
_tmp116_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp114_, _tmp115_);
2152
_tmp117_ = g_object_ref_sink (_tmp116_);
2153
_g_object_unref0 (computer_button);
2154
computer_button = _tmp117_;
1860
g_signal_connect_object (_tmp28_, "changed", (GCallback) _iagno_dark_level_changed_cb_gtk_combo_box_changed, self, 0);
1861
_tmp29_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
1862
_tmp30_ = g_object_ref_sink (_tmp29_);
1866
gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp31_, (GtkCellRenderer*) _tmp32_, TRUE);
1869
gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp33_, (GtkCellRenderer*) _tmp34_, "text", 0);
1870
_tmp35_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_INT);
1874
gtk_combo_box_set_model (_tmp36_, (GtkTreeModel*) _tmp37_);
1876
gtk_list_store_append (_tmp38_, &_tmp39_);
1880
_tmp42_ = _ ("Human");
1881
gtk_list_store_set (_tmp40_, &_tmp41_, 0, _tmp42_, 1, 0, -1);
1882
_tmp43_ = self->priv->settings;
1883
_tmp44_ = g_settings_get_int (_tmp43_, "black-level");
1885
GtkComboBox* _tmp45_;
1886
GtkTreeIter _tmp46_;
1889
gtk_combo_box_set_active_iter (_tmp45_, &_tmp46_);
1892
gtk_list_store_append (_tmp47_, &_tmp48_);
1896
_tmp51_ = _ ("Level one");
1897
gtk_list_store_set (_tmp49_, &_tmp50_, 0, _tmp51_, 1, 1, -1);
1898
_tmp52_ = self->priv->settings;
1899
_tmp53_ = g_settings_get_int (_tmp52_, "black-level");
1901
GtkComboBox* _tmp54_;
1902
GtkTreeIter _tmp55_;
1905
gtk_combo_box_set_active_iter (_tmp54_, &_tmp55_);
1908
gtk_list_store_append (_tmp56_, &_tmp57_);
1912
_tmp60_ = _ ("Level two");
1913
gtk_list_store_set (_tmp58_, &_tmp59_, 0, _tmp60_, 1, 2, -1);
1914
_tmp61_ = self->priv->settings;
1915
_tmp62_ = g_settings_get_int (_tmp61_, "black-level");
1917
GtkComboBox* _tmp63_;
1918
GtkTreeIter _tmp64_;
1921
gtk_combo_box_set_active_iter (_tmp63_, &_tmp64_);
1924
gtk_list_store_append (_tmp65_, &_tmp66_);
1928
_tmp69_ = _ ("Level three");
1929
gtk_list_store_set (_tmp67_, &_tmp68_, 0, _tmp69_, 1, 3, -1);
1930
_tmp70_ = self->priv->settings;
1931
_tmp71_ = g_settings_get_int (_tmp70_, "black-level");
1933
GtkComboBox* _tmp72_;
1934
GtkTreeIter _tmp73_;
1937
gtk_combo_box_set_active_iter (_tmp72_, &_tmp73_);
1941
gtk_grid_attach (_tmp74_, (GtkWidget*) _tmp75_, 1, 0, 1, 1);
1942
_tmp76_ = _ ("Light Player:");
1943
_tmp77_ = (GtkLabel*) gtk_label_new (_tmp76_);
1944
_tmp78_ = g_object_ref_sink (_tmp77_);
1945
_g_object_unref0 (label);
1948
gtk_misc_set_alignment ((GtkMisc*) _tmp79_, 0.0f, 0.5f);
1950
g_object_set ((GtkWidget*) _tmp80_, "expand", TRUE, NULL);
1953
gtk_grid_attach (_tmp81_, (GtkWidget*) _tmp82_, 0, 1, 1, 1);
1954
_tmp83_ = (GtkComboBox*) gtk_combo_box_new ();
1955
_tmp84_ = g_object_ref_sink (_tmp83_);
1956
_g_object_unref0 (combo);
1959
g_signal_connect_object (_tmp85_, "changed", (GCallback) _iagno_light_level_changed_cb_gtk_combo_box_changed, self, 0);
1960
_tmp86_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
1961
_tmp87_ = g_object_ref_sink (_tmp86_);
1962
_g_object_unref0 (renderer);
1966
gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp88_, (GtkCellRenderer*) _tmp89_, TRUE);
1969
gtk_cell_layout_add_attribute ((GtkCellLayout*) _tmp90_, (GtkCellRenderer*) _tmp91_, "text", 0);
1970
_tmp92_ = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_INT);
1971
_g_object_unref0 (model);
1975
gtk_combo_box_set_model (_tmp93_, (GtkTreeModel*) _tmp94_);
1977
gtk_list_store_append (_tmp95_, &_tmp96_);
1981
_tmp99_ = _ ("Human");
1982
gtk_list_store_set (_tmp97_, &_tmp98_, 0, _tmp99_, 1, 0, -1);
1983
_tmp100_ = self->priv->settings;
1984
_tmp101_ = g_settings_get_int (_tmp100_, "white-level");
1985
if (_tmp101_ == 0) {
1986
GtkComboBox* _tmp102_;
1987
GtkTreeIter _tmp103_;
1990
gtk_combo_box_set_active_iter (_tmp102_, &_tmp103_);
1993
gtk_list_store_append (_tmp104_, &_tmp105_);
1997
_tmp108_ = _ ("Level one");
1998
gtk_list_store_set (_tmp106_, &_tmp107_, 0, _tmp108_, 1, 1, -1);
1999
_tmp109_ = self->priv->settings;
2000
_tmp110_ = g_settings_get_int (_tmp109_, "white-level");
2001
if (_tmp110_ == 1) {
2002
GtkComboBox* _tmp111_;
2003
GtkTreeIter _tmp112_;
2006
gtk_combo_box_set_active_iter (_tmp111_, &_tmp112_);
2009
gtk_list_store_append (_tmp113_, &_tmp114_);
2013
_tmp117_ = _ ("Level two");
2014
gtk_list_store_set (_tmp115_, &_tmp116_, 0, _tmp117_, 1, 2, -1);
2155
2015
_tmp118_ = self->priv->settings;
2156
2016
_tmp119_ = g_settings_get_int (_tmp118_, "white-level");
2157
if (_tmp119_ == 1) {
2158
GtkRadioButton* _tmp120_;
2159
_tmp120_ = computer_button;
2160
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp120_, TRUE);
2162
_tmp121_ = computer_button;
2163
g_signal_connect_object ((GtkToggleButton*) _tmp121_, "toggled", (GCallback) _iagno_light_level_one_cb_gtk_toggle_button_toggled, self, 0);
2165
_tmp123_ = computer_button;
2166
gtk_box_pack_start (_tmp122_, (GtkWidget*) _tmp123_, FALSE, FALSE, (guint) 0);
2167
_tmp124_ = computer_button;
2168
_tmp125_ = gtk_radio_button_get_group (_tmp124_);
2169
_tmp126_ = _ ("Level two");
2170
_tmp127_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp125_, _tmp126_);
2171
_tmp128_ = g_object_ref_sink (_tmp127_);
2172
_g_object_unref0 (computer_button);
2173
computer_button = _tmp128_;
2174
_tmp129_ = self->priv->settings;
2175
_tmp130_ = g_settings_get_int (_tmp129_, "white-level");
2176
if (_tmp130_ == 2) {
2177
GtkRadioButton* _tmp131_;
2178
_tmp131_ = computer_button;
2179
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp131_, TRUE);
2181
_tmp132_ = computer_button;
2182
g_signal_connect_object ((GtkToggleButton*) _tmp132_, "toggled", (GCallback) _iagno_light_level_two_cb_gtk_toggle_button_toggled, self, 0);
2184
_tmp134_ = computer_button;
2185
gtk_box_pack_start (_tmp133_, (GtkWidget*) _tmp134_, FALSE, FALSE, (guint) 0);
2186
_tmp135_ = computer_button;
2187
_tmp136_ = gtk_radio_button_get_group (_tmp135_);
2188
_tmp137_ = _ ("Level three");
2189
_tmp138_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp136_, _tmp137_);
2190
_tmp139_ = g_object_ref_sink (_tmp138_);
2191
_g_object_unref0 (computer_button);
2192
computer_button = _tmp139_;
2193
_tmp140_ = self->priv->settings;
2194
_tmp141_ = g_settings_get_int (_tmp140_, "white-level");
2195
if (_tmp141_ == 3) {
2196
GtkRadioButton* _tmp142_;
2197
_tmp142_ = computer_button;
2198
gtk_toggle_button_set_active ((GtkToggleButton*) _tmp142_, TRUE);
2200
_tmp143_ = computer_button;
2201
g_signal_connect_object ((GtkToggleButton*) _tmp143_, "toggled", (GCallback) _iagno_light_level_three_cb_gtk_toggle_button_toggled, self, 0);
2203
_tmp145_ = computer_button;
2204
gtk_box_pack_start (_tmp144_, (GtkWidget*) _tmp145_, FALSE, FALSE, (guint) 0);
2205
_tmp146_ = _ ("Appearance");
2206
_tmp147_ = (GtkLabel*) gtk_label_new (_tmp146_);
2207
_tmp148_ = g_object_ref_sink (_tmp147_);
2208
_g_object_unref0 (label);
2210
_tmp149_ = (GtkGrid*) gtk_grid_new ();
2211
_tmp150_ = g_object_ref_sink (_tmp149_);
2212
_g_object_unref0 (grid);
2215
gtk_grid_set_column_spacing (_tmp151_, (guint) 18);
2217
gtk_container_set_border_width ((GtkContainer*) _tmp152_, (guint) 12);
2218
_tmp153_ = notebook;
2221
gtk_notebook_append_page (_tmp153_, (GtkWidget*) _tmp154_, (GtkWidget*) _tmp155_);
2222
_tmp156_ = _ ("Options");
2223
_tmp157_ = games_frame_new (_tmp156_);
2224
_tmp158_ = g_object_ref_sink (_tmp157_);
2225
_g_object_unref0 (frame);
2229
gtk_grid_attach (_tmp159_, (GtkWidget*) _tmp160_, 0, 0, 1, 1);
2230
_tmp161_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
2231
_tmp162_ = g_object_ref_sink (_tmp161_);
2232
_g_object_unref0 (vbox);
2236
gtk_container_add ((GtkContainer*) _tmp163_, (GtkWidget*) _tmp164_);
2237
_tmp165_ = _ ("S_how grid");
2238
_tmp166_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp165_);
2239
_tmp167_ = g_object_ref_sink (_tmp166_);
2240
grid_button = _tmp167_;
2241
_tmp168_ = self->priv->settings;
2242
_tmp169_ = g_settings_get_boolean (_tmp168_, "show-grid");
2243
gtk_toggle_button_set_active ((GtkToggleButton*) grid_button, _tmp169_);
2017
if (_tmp119_ == 2) {
2018
GtkComboBox* _tmp120_;
2019
GtkTreeIter _tmp121_;
2022
gtk_combo_box_set_active_iter (_tmp120_, &_tmp121_);
2025
gtk_list_store_append (_tmp122_, &_tmp123_);
2029
_tmp126_ = _ ("Level three");
2030
gtk_list_store_set (_tmp124_, &_tmp125_, 0, _tmp126_, 1, 3, -1);
2031
_tmp127_ = self->priv->settings;
2032
_tmp128_ = g_settings_get_int (_tmp127_, "white-level");
2033
if (_tmp128_ == 3) {
2034
GtkComboBox* _tmp129_;
2035
GtkTreeIter _tmp130_;
2038
gtk_combo_box_set_active_iter (_tmp129_, &_tmp130_);
2042
gtk_grid_attach (_tmp131_, (GtkWidget*) _tmp132_, 1, 1, 1, 1);
2043
_tmp133_ = _ ("E_nable sounds");
2044
_tmp134_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp133_);
2045
_tmp135_ = g_object_ref_sink (_tmp134_);
2046
enable_sounds_button = _tmp135_;
2047
_tmp136_ = self->priv->settings;
2048
_tmp137_ = g_settings_get_boolean (_tmp136_, "sound");
2049
gtk_toggle_button_set_active ((GtkToggleButton*) enable_sounds_button, _tmp137_);
2050
g_signal_connect_object ((GtkToggleButton*) enable_sounds_button, "toggled", (GCallback) _iagno_sound_select_gtk_toggle_button_toggled, self, 0);
2052
gtk_grid_attach (_tmp138_, (GtkWidget*) enable_sounds_button, 0, 2, 2, 1);
2053
_tmp139_ = _ ("S_how grid");
2054
_tmp140_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp139_);
2055
_tmp141_ = g_object_ref_sink (_tmp140_);
2056
grid_button = _tmp141_;
2057
_tmp142_ = self->priv->settings;
2058
_tmp143_ = g_settings_get_boolean (_tmp142_, "show-grid");
2059
gtk_toggle_button_set_active ((GtkToggleButton*) grid_button, _tmp143_);
2244
2060
g_signal_connect_object ((GtkToggleButton*) grid_button, "toggled", (GCallback) _iagno_grid_toggled_cb_gtk_toggle_button_toggled, self, 0);
2246
gtk_box_pack_start (_tmp170_, (GtkWidget*) grid_button, FALSE, FALSE, (guint) 0);
2247
_tmp171_ = _ ("_Flip final results");
2248
_tmp172_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp171_);
2249
_tmp173_ = g_object_ref_sink (_tmp172_);
2250
flip_final_button = _tmp173_;
2251
_tmp174_ = self->priv->settings;
2252
_tmp175_ = g_settings_get_boolean (_tmp174_, "flip-final-results");
2253
gtk_toggle_button_set_active ((GtkToggleButton*) flip_final_button, _tmp175_);
2062
gtk_grid_attach (_tmp144_, (GtkWidget*) grid_button, 0, 3, 2, 1);
2063
_tmp145_ = _ ("_Flip final results");
2064
_tmp146_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp145_);
2065
_tmp147_ = g_object_ref_sink (_tmp146_);
2066
flip_final_button = _tmp147_;
2067
_tmp148_ = self->priv->settings;
2068
_tmp149_ = g_settings_get_boolean (_tmp148_, "flip-final-results");
2069
gtk_toggle_button_set_active ((GtkToggleButton*) flip_final_button, _tmp149_);
2254
2070
g_signal_connect_object ((GtkToggleButton*) flip_final_button, "toggled", (GCallback) _iagno_flip_final_toggled_cb_gtk_toggle_button_toggled, self, 0);
2256
gtk_box_pack_start (_tmp176_, (GtkWidget*) flip_final_button, FALSE, FALSE, (guint) 0);
2257
_tmp177_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
2258
_tmp178_ = g_object_ref_sink (_tmp177_);
2261
gtk_box_pack_start (_tmp179_, (GtkWidget*) hbox, FALSE, FALSE, (guint) 0);
2262
_tmp180_ = _ ("_Tile set:");
2263
_tmp181_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp180_);
2264
_tmp182_ = g_object_ref_sink (_tmp181_);
2072
gtk_grid_attach (_tmp150_, (GtkWidget*) flip_final_button, 0, 4, 2, 1);
2073
_tmp151_ = _ ("_Tile set:");
2074
_tmp152_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp151_);
2075
_tmp153_ = g_object_ref_sink (_tmp152_);
2265
2076
_g_object_unref0 (label);
2268
gtk_box_pack_start (hbox, (GtkWidget*) _tmp183_, FALSE, FALSE, (guint) 0);
2269
_tmp184_ = g_build_filename (DATA_DIRECTORY, "themes", NULL);
2270
_tmp185_ = _tmp184_;
2271
_tmp186_ = games_file_list_new_images (_tmp185_, NULL, NULL);
2079
gtk_misc_set_alignment ((GtkMisc*) _tmp154_, 0.0f, 0.5f);
2081
g_object_set ((GtkWidget*) _tmp155_, "expand", TRUE, NULL);
2084
gtk_grid_attach (_tmp156_, (GtkWidget*) _tmp157_, 0, 5, 1, 1);
2085
_tmp158_ = g_build_filename (DATA_DIRECTORY, "themes", NULL);
2086
_tmp159_ = _tmp158_;
2087
_tmp160_ = games_file_list_new_images (_tmp159_, NULL, NULL);
2272
2088
_g_object_unref0 (self->priv->theme_file_list);
2273
self->priv->theme_file_list = _tmp186_;
2274
_g_free0 (_tmp185_);
2275
_tmp187_ = self->priv->theme_file_list;
2276
games_file_list_transform_basename (_tmp187_);
2277
_tmp188_ = self->priv->theme_file_list;
2278
_tmp189_ = self->priv->settings;
2279
_tmp190_ = g_settings_get_string (_tmp189_, "tileset");
2280
_tmp191_ = _tmp190_;
2281
_tmp192_ = games_file_list_create_widget (_tmp188_, _tmp191_, (guint) (GAMES_FILE_LIST_REMOVE_EXTENSION | GAMES_FILE_LIST_REPLACE_UNDERSCORES));
2282
_tmp193_ = GTK_COMBO_BOX (_tmp192_);
2283
_g_free0 (_tmp191_);
2284
theme_combo = _tmp193_;
2286
gtk_label_set_mnemonic_widget (_tmp194_, (GtkWidget*) theme_combo);
2089
self->priv->theme_file_list = _tmp160_;
2090
_g_free0 (_tmp159_);
2091
_tmp161_ = self->priv->theme_file_list;
2092
games_file_list_transform_basename (_tmp161_);
2093
_tmp162_ = self->priv->theme_file_list;
2094
_tmp163_ = self->priv->settings;
2095
_tmp164_ = g_settings_get_string (_tmp163_, "tileset");
2096
_tmp165_ = _tmp164_;
2097
_tmp166_ = games_file_list_create_widget (_tmp162_, _tmp165_, (guint) (GAMES_FILE_LIST_REMOVE_EXTENSION | GAMES_FILE_LIST_REPLACE_UNDERSCORES));
2098
_tmp167_ = GTK_COMBO_BOX (_tmp166_);
2099
_g_free0 (_tmp165_);
2100
theme_combo = _tmp167_;
2102
gtk_label_set_mnemonic_widget (_tmp168_, (GtkWidget*) theme_combo);
2287
2103
g_signal_connect_object (theme_combo, "changed", (GCallback) _iagno_theme_changed_cb_gtk_combo_box_changed, self, 0);
2288
gtk_box_pack_start (hbox, (GtkWidget*) theme_combo, TRUE, TRUE, (guint) 0);
2290
gtk_widget_show_all ((GtkWidget*) _tmp195_);
2105
gtk_grid_attach (_tmp169_, (GtkWidget*) theme_combo, 1, 5, 1, 1);
2107
gtk_widget_show_all ((GtkWidget*) _tmp170_);
2291
2108
_g_object_unref0 (theme_combo);
2292
_g_object_unref0 (hbox);
2293
2109
_g_object_unref0 (flip_final_button);
2294
2110
_g_object_unref0 (grid_button);
2295
_g_object_unref0 (computer_button);
2296
_g_object_unref0 (frame);
2297
2111
_g_object_unref0 (enable_sounds_button);
2298
_g_object_unref0 (vbox2);
2112
_g_object_unref0 (model);
2113
_g_object_unref0 (renderer);
2114
_g_object_unref0 (combo);
2115
_g_object_unref0 (label);
2299
2116
_g_object_unref0 (grid);
2300
_g_object_unref0 (vbox);
2301
_g_object_unref0 (label);
2302
_g_object_unref0 (notebook);
2303
2117
_g_object_unref0 (box);
2304
2118
_g_object_unref0 (propbox);