Mercurial > audlegacy-plugins
comparison src/sid/xs_interface.c @ 1587:f81441af323c
The .gladep file was missing, and caused xs_interface.c to be incorrectly generated
by Glade, fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 04 Sep 2007 23:12:43 +0300 |
parents | a6115d004ec3 |
children | 0b19f8924500 |
comparison
equal
deleted
inserted
replaced
1586:deb342ef8598 | 1587:f81441af323c |
---|---|
207 GtkTooltips *tooltips; | 207 GtkTooltips *tooltips; |
208 | 208 |
209 tooltips = gtk_tooltips_new (); | 209 tooltips = gtk_tooltips_new (); |
210 | 210 |
211 xs_configwin = gtk_window_new (GTK_WINDOW_TOPLEVEL); | 211 xs_configwin = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
212 gtk_widget_set_name (xs_configwin, "xs_configwin"); | |
212 gtk_window_set_title (GTK_WINDOW (xs_configwin), _("Audacious-SID configuration")); | 213 gtk_window_set_title (GTK_WINDOW (xs_configwin), _("Audacious-SID configuration")); |
213 | 214 |
214 w_vbox1 = gtk_vbox_new (FALSE, 0); | 215 w_vbox1 = gtk_vbox_new (FALSE, 0); |
216 gtk_widget_set_name (w_vbox1, "w_vbox1"); | |
215 gtk_widget_show (w_vbox1); | 217 gtk_widget_show (w_vbox1); |
216 gtk_container_add (GTK_CONTAINER (xs_configwin), w_vbox1); | 218 gtk_container_add (GTK_CONTAINER (xs_configwin), w_vbox1); |
217 gtk_container_set_border_width (GTK_CONTAINER (w_vbox1), 8); | 219 gtk_container_set_border_width (GTK_CONTAINER (w_vbox1), 8); |
218 | 220 |
219 cfg_notebook = gtk_notebook_new (); | 221 cfg_notebook = gtk_notebook_new (); |
222 gtk_widget_set_name (cfg_notebook, "cfg_notebook"); | |
220 gtk_widget_show (cfg_notebook); | 223 gtk_widget_show (cfg_notebook); |
221 gtk_box_pack_start (GTK_BOX (w_vbox1), cfg_notebook, TRUE, TRUE, 0); | 224 gtk_box_pack_start (GTK_BOX (w_vbox1), cfg_notebook, TRUE, TRUE, 0); |
222 gtk_notebook_set_show_border (GTK_NOTEBOOK (cfg_notebook), FALSE); | 225 gtk_notebook_set_show_border (GTK_NOTEBOOK (cfg_notebook), FALSE); |
223 | 226 |
224 w_vbox6 = gtk_vbox_new (FALSE, 0); | 227 w_vbox6 = gtk_vbox_new (FALSE, 0); |
228 gtk_widget_set_name (w_vbox6, "w_vbox6"); | |
225 gtk_widget_show (w_vbox6); | 229 gtk_widget_show (w_vbox6); |
226 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox6); | 230 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox6); |
227 | 231 |
228 w_hbox2 = gtk_hbox_new (FALSE, 0); | 232 w_hbox2 = gtk_hbox_new (FALSE, 0); |
233 gtk_widget_set_name (w_hbox2, "w_hbox2"); | |
229 gtk_widget_show (w_hbox2); | 234 gtk_widget_show (w_hbox2); |
230 gtk_box_pack_start (GTK_BOX (w_vbox6), w_hbox2, FALSE, TRUE, 0); | 235 gtk_box_pack_start (GTK_BOX (w_vbox6), w_hbox2, FALSE, TRUE, 0); |
231 | 236 |
232 cfg_sndres_frame = gtk_frame_new (NULL); | 237 cfg_sndres_frame = gtk_frame_new (NULL); |
238 gtk_widget_set_name (cfg_sndres_frame, "cfg_sndres_frame"); | |
233 gtk_widget_show (cfg_sndres_frame); | 239 gtk_widget_show (cfg_sndres_frame); |
234 gtk_box_pack_start (GTK_BOX (w_hbox2), cfg_sndres_frame, TRUE, TRUE, 0); | 240 gtk_box_pack_start (GTK_BOX (w_hbox2), cfg_sndres_frame, TRUE, TRUE, 0); |
235 gtk_container_set_border_width (GTK_CONTAINER (cfg_sndres_frame), 4); | 241 gtk_container_set_border_width (GTK_CONTAINER (cfg_sndres_frame), 4); |
236 | 242 |
237 w_vbox9 = gtk_vbox_new (FALSE, 2); | 243 w_vbox9 = gtk_vbox_new (FALSE, 2); |
244 gtk_widget_set_name (w_vbox9, "w_vbox9"); | |
238 gtk_widget_show (w_vbox9); | 245 gtk_widget_show (w_vbox9); |
239 gtk_container_add (GTK_CONTAINER (cfg_sndres_frame), w_vbox9); | 246 gtk_container_add (GTK_CONTAINER (cfg_sndres_frame), w_vbox9); |
240 gtk_container_set_border_width (GTK_CONTAINER (w_vbox9), 2); | 247 gtk_container_set_border_width (GTK_CONTAINER (w_vbox9), 2); |
241 | 248 |
242 cfg_res_8bit = gtk_radio_button_new_with_mnemonic (NULL, _("8-bit")); | 249 cfg_res_8bit = gtk_radio_button_new_with_mnemonic (NULL, _("8-bit")); |
250 gtk_widget_set_name (cfg_res_8bit, "cfg_res_8bit"); | |
243 gtk_widget_show (cfg_res_8bit); | 251 gtk_widget_show (cfg_res_8bit); |
244 gtk_box_pack_start (GTK_BOX (w_vbox9), cfg_res_8bit, FALSE, FALSE, 0); | 252 gtk_box_pack_start (GTK_BOX (w_vbox9), cfg_res_8bit, FALSE, FALSE, 0); |
245 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_res_8bit), cfg_res_8bit_group); | 253 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_res_8bit), cfg_res_8bit_group); |
246 cfg_res_8bit_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_res_8bit)); | 254 cfg_res_8bit_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_res_8bit)); |
247 | 255 |
248 cfg_res_16bit = gtk_radio_button_new_with_mnemonic (NULL, _("16-bit")); | 256 cfg_res_16bit = gtk_radio_button_new_with_mnemonic (NULL, _("16-bit")); |
257 gtk_widget_set_name (cfg_res_16bit, "cfg_res_16bit"); | |
249 gtk_widget_show (cfg_res_16bit); | 258 gtk_widget_show (cfg_res_16bit); |
250 gtk_box_pack_start (GTK_BOX (w_vbox9), cfg_res_16bit, FALSE, FALSE, 0); | 259 gtk_box_pack_start (GTK_BOX (w_vbox9), cfg_res_16bit, FALSE, FALSE, 0); |
251 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_res_16bit), cfg_res_8bit_group); | 260 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_res_16bit), cfg_res_8bit_group); |
252 cfg_res_8bit_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_res_16bit)); | 261 cfg_res_8bit_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_res_16bit)); |
253 | 262 |
254 label1 = gtk_label_new (_("Resolution:")); | 263 label1 = gtk_label_new (_("Resolution:")); |
264 gtk_widget_set_name (label1, "label1"); | |
255 gtk_widget_show (label1); | 265 gtk_widget_show (label1); |
256 gtk_frame_set_label_widget (GTK_FRAME (cfg_sndres_frame), label1); | 266 gtk_frame_set_label_widget (GTK_FRAME (cfg_sndres_frame), label1); |
257 | 267 |
258 cfg_channels_frame = gtk_frame_new (NULL); | 268 cfg_channels_frame = gtk_frame_new (NULL); |
269 gtk_widget_set_name (cfg_channels_frame, "cfg_channels_frame"); | |
259 gtk_widget_show (cfg_channels_frame); | 270 gtk_widget_show (cfg_channels_frame); |
260 gtk_box_pack_start (GTK_BOX (w_hbox2), cfg_channels_frame, TRUE, TRUE, 0); | 271 gtk_box_pack_start (GTK_BOX (w_hbox2), cfg_channels_frame, TRUE, TRUE, 0); |
261 gtk_container_set_border_width (GTK_CONTAINER (cfg_channels_frame), 4); | 272 gtk_container_set_border_width (GTK_CONTAINER (cfg_channels_frame), 4); |
262 | 273 |
263 w_vbox10 = gtk_vbox_new (FALSE, 2); | 274 w_vbox10 = gtk_vbox_new (FALSE, 2); |
275 gtk_widget_set_name (w_vbox10, "w_vbox10"); | |
264 gtk_widget_show (w_vbox10); | 276 gtk_widget_show (w_vbox10); |
265 gtk_container_add (GTK_CONTAINER (cfg_channels_frame), w_vbox10); | 277 gtk_container_add (GTK_CONTAINER (cfg_channels_frame), w_vbox10); |
266 gtk_container_set_border_width (GTK_CONTAINER (w_vbox10), 2); | 278 gtk_container_set_border_width (GTK_CONTAINER (w_vbox10), 2); |
267 | 279 |
268 cfg_chn_mono = gtk_radio_button_new_with_mnemonic (NULL, _("Mono")); | 280 cfg_chn_mono = gtk_radio_button_new_with_mnemonic (NULL, _("Mono")); |
281 gtk_widget_set_name (cfg_chn_mono, "cfg_chn_mono"); | |
269 gtk_widget_show (cfg_chn_mono); | 282 gtk_widget_show (cfg_chn_mono); |
270 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_mono, FALSE, FALSE, 0); | 283 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_mono, FALSE, FALSE, 0); |
271 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_mono), cfg_chn_mono_group); | 284 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_mono), cfg_chn_mono_group); |
272 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_mono)); | 285 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_mono)); |
273 | 286 |
274 cfg_chn_stereo = gtk_radio_button_new_with_mnemonic (NULL, _("Stereo")); | 287 cfg_chn_stereo = gtk_radio_button_new_with_mnemonic (NULL, _("Stereo")); |
288 gtk_widget_set_name (cfg_chn_stereo, "cfg_chn_stereo"); | |
275 gtk_widget_show (cfg_chn_stereo); | 289 gtk_widget_show (cfg_chn_stereo); |
276 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_stereo, FALSE, FALSE, 0); | 290 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_stereo, FALSE, FALSE, 0); |
277 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_stereo), cfg_chn_mono_group); | 291 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_stereo), cfg_chn_mono_group); |
278 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_stereo)); | 292 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_stereo)); |
279 | 293 |
280 cfg_chn_autopan = gtk_radio_button_new_with_mnemonic (NULL, _("Autopanning")); | 294 cfg_chn_autopan = gtk_radio_button_new_with_mnemonic (NULL, _("Autopanning")); |
295 gtk_widget_set_name (cfg_chn_autopan, "cfg_chn_autopan"); | |
281 gtk_widget_show (cfg_chn_autopan); | 296 gtk_widget_show (cfg_chn_autopan); |
282 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_autopan, FALSE, FALSE, 0); | 297 gtk_box_pack_start (GTK_BOX (w_vbox10), cfg_chn_autopan, FALSE, FALSE, 0); |
283 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_autopan), cfg_chn_mono_group); | 298 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_chn_autopan), cfg_chn_mono_group); |
284 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_autopan)); | 299 cfg_chn_mono_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_chn_autopan)); |
285 | 300 |
286 label2 = gtk_label_new (_("Channels:")); | 301 label2 = gtk_label_new (_("Channels:")); |
302 gtk_widget_set_name (label2, "label2"); | |
287 gtk_widget_show (label2); | 303 gtk_widget_show (label2); |
288 gtk_frame_set_label_widget (GTK_FRAME (cfg_channels_frame), label2); | 304 gtk_frame_set_label_widget (GTK_FRAME (cfg_channels_frame), label2); |
289 | 305 |
290 cfg_samplerate_frame = gtk_frame_new (NULL); | 306 cfg_samplerate_frame = gtk_frame_new (NULL); |
307 gtk_widget_set_name (cfg_samplerate_frame, "cfg_samplerate_frame"); | |
291 gtk_widget_show (cfg_samplerate_frame); | 308 gtk_widget_show (cfg_samplerate_frame); |
292 gtk_box_pack_start (GTK_BOX (w_vbox6), cfg_samplerate_frame, FALSE, TRUE, 0); | 309 gtk_box_pack_start (GTK_BOX (w_vbox6), cfg_samplerate_frame, FALSE, TRUE, 0); |
293 gtk_container_set_border_width (GTK_CONTAINER (cfg_samplerate_frame), 4); | 310 gtk_container_set_border_width (GTK_CONTAINER (cfg_samplerate_frame), 4); |
294 | 311 |
295 w_hbox4 = gtk_hbox_new (FALSE, 0); | 312 w_hbox4 = gtk_hbox_new (FALSE, 0); |
313 gtk_widget_set_name (w_hbox4, "w_hbox4"); | |
296 gtk_widget_show (w_hbox4); | 314 gtk_widget_show (w_hbox4); |
297 gtk_container_add (GTK_CONTAINER (cfg_samplerate_frame), w_hbox4); | 315 gtk_container_add (GTK_CONTAINER (cfg_samplerate_frame), w_hbox4); |
298 gtk_container_set_border_width (GTK_CONTAINER (w_hbox4), 4); | 316 gtk_container_set_border_width (GTK_CONTAINER (w_hbox4), 4); |
299 | 317 |
300 cfg_samplerate_combo = gtk_combo_new (); | 318 cfg_samplerate_combo = gtk_combo_new (); |
301 g_object_set_data (G_OBJECT (GTK_COMBO (cfg_samplerate_combo)->popwin), | 319 g_object_set_data (G_OBJECT (GTK_COMBO (cfg_samplerate_combo)->popwin), |
302 "GladeParentKey", cfg_samplerate_combo); | 320 "GladeParentKey", cfg_samplerate_combo); |
321 gtk_widget_set_name (cfg_samplerate_combo, "cfg_samplerate_combo"); | |
303 gtk_widget_show (cfg_samplerate_combo); | 322 gtk_widget_show (cfg_samplerate_combo); |
304 gtk_box_pack_start (GTK_BOX (w_hbox4), cfg_samplerate_combo, FALSE, FALSE, 0); | 323 gtk_box_pack_start (GTK_BOX (w_hbox4), cfg_samplerate_combo, FALSE, FALSE, 0); |
305 cfg_samplerate_combo_items = g_list_append (cfg_samplerate_combo_items, (gpointer) ""); | 324 cfg_samplerate_combo_items = g_list_append (cfg_samplerate_combo_items, (gpointer) ""); |
306 gtk_combo_set_popdown_strings (GTK_COMBO (cfg_samplerate_combo), cfg_samplerate_combo_items); | 325 gtk_combo_set_popdown_strings (GTK_COMBO (cfg_samplerate_combo), cfg_samplerate_combo_items); |
307 g_list_free (cfg_samplerate_combo_items); | 326 g_list_free (cfg_samplerate_combo_items); |
308 | 327 |
309 cfg_samplerate = GTK_COMBO (cfg_samplerate_combo)->entry; | 328 cfg_samplerate = GTK_COMBO (cfg_samplerate_combo)->entry; |
329 gtk_widget_set_name (cfg_samplerate, "cfg_samplerate"); | |
310 gtk_widget_show (cfg_samplerate); | 330 gtk_widget_show (cfg_samplerate); |
311 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_samplerate), 9679); | 331 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_samplerate), 9679); |
312 | 332 |
313 w_label8 = gtk_label_new (_("Hz")); | 333 w_label8 = gtk_label_new (_("Hz")); |
334 gtk_widget_set_name (w_label8, "w_label8"); | |
314 gtk_widget_show (w_label8); | 335 gtk_widget_show (w_label8); |
315 gtk_box_pack_start (GTK_BOX (w_hbox4), w_label8, FALSE, TRUE, 4); | 336 gtk_box_pack_start (GTK_BOX (w_hbox4), w_label8, FALSE, TRUE, 4); |
316 gtk_label_set_justify (GTK_LABEL (w_label8), GTK_JUSTIFY_CENTER); | 337 gtk_label_set_justify (GTK_LABEL (w_label8), GTK_JUSTIFY_CENTER); |
317 | 338 |
318 w_label54 = gtk_label_new (""); | 339 w_label54 = gtk_label_new (""); |
340 gtk_widget_set_name (w_label54, "w_label54"); | |
319 gtk_widget_show (w_label54); | 341 gtk_widget_show (w_label54); |
320 gtk_box_pack_start (GTK_BOX (w_hbox4), w_label54, FALSE, TRUE, 0); | 342 gtk_box_pack_start (GTK_BOX (w_hbox4), w_label54, FALSE, TRUE, 0); |
321 gtk_label_set_justify (GTK_LABEL (w_label54), GTK_JUSTIFY_CENTER); | 343 gtk_label_set_justify (GTK_LABEL (w_label54), GTK_JUSTIFY_CENTER); |
322 | 344 |
323 label3 = gtk_label_new (_("Samplerate:")); | 345 label3 = gtk_label_new (_("Samplerate:")); |
346 gtk_widget_set_name (label3, "label3"); | |
324 gtk_widget_show (label3); | 347 gtk_widget_show (label3); |
325 gtk_frame_set_label_widget (GTK_FRAME (cfg_samplerate_frame), label3); | 348 gtk_frame_set_label_widget (GTK_FRAME (cfg_samplerate_frame), label3); |
326 | 349 |
327 cfg_oversample_frame = gtk_frame_new (NULL); | 350 cfg_oversample_frame = gtk_frame_new (NULL); |
351 gtk_widget_set_name (cfg_oversample_frame, "cfg_oversample_frame"); | |
328 gtk_widget_show (cfg_oversample_frame); | 352 gtk_widget_show (cfg_oversample_frame); |
329 gtk_box_pack_start (GTK_BOX (w_vbox6), cfg_oversample_frame, FALSE, TRUE, 0); | 353 gtk_box_pack_start (GTK_BOX (w_vbox6), cfg_oversample_frame, FALSE, TRUE, 0); |
330 gtk_container_set_border_width (GTK_CONTAINER (cfg_oversample_frame), 4); | 354 gtk_container_set_border_width (GTK_CONTAINER (cfg_oversample_frame), 4); |
331 | 355 |
332 w_vbox27 = gtk_vbox_new (FALSE, 2); | 356 w_vbox27 = gtk_vbox_new (FALSE, 2); |
357 gtk_widget_set_name (w_vbox27, "w_vbox27"); | |
333 gtk_widget_show (w_vbox27); | 358 gtk_widget_show (w_vbox27); |
334 gtk_container_add (GTK_CONTAINER (cfg_oversample_frame), w_vbox27); | 359 gtk_container_add (GTK_CONTAINER (cfg_oversample_frame), w_vbox27); |
335 gtk_container_set_border_width (GTK_CONTAINER (w_vbox27), 2); | 360 gtk_container_set_border_width (GTK_CONTAINER (w_vbox27), 2); |
336 | 361 |
337 cfg_oversample = gtk_check_button_new_with_mnemonic (_("Use oversampling")); | 362 cfg_oversample = gtk_check_button_new_with_mnemonic (_("Use oversampling")); |
363 gtk_widget_set_name (cfg_oversample, "cfg_oversample"); | |
338 gtk_widget_show (cfg_oversample); | 364 gtk_widget_show (cfg_oversample); |
339 gtk_box_pack_start (GTK_BOX (w_vbox27), cfg_oversample, FALSE, FALSE, 0); | 365 gtk_box_pack_start (GTK_BOX (w_vbox27), cfg_oversample, FALSE, FALSE, 0); |
340 | 366 |
341 cfg_oversample_box = gtk_hbox_new (FALSE, 4); | 367 cfg_oversample_box = gtk_hbox_new (FALSE, 4); |
368 gtk_widget_set_name (cfg_oversample_box, "cfg_oversample_box"); | |
342 gtk_widget_show (cfg_oversample_box); | 369 gtk_widget_show (cfg_oversample_box); |
343 gtk_box_pack_start (GTK_BOX (w_vbox27), cfg_oversample_box, FALSE, TRUE, 0); | 370 gtk_box_pack_start (GTK_BOX (w_vbox27), cfg_oversample_box, FALSE, TRUE, 0); |
344 gtk_container_set_border_width (GTK_CONTAINER (cfg_oversample_box), 2); | 371 gtk_container_set_border_width (GTK_CONTAINER (cfg_oversample_box), 2); |
345 | 372 |
346 cfg_oversample_label1 = gtk_label_new (_("Factor:")); | 373 cfg_oversample_label1 = gtk_label_new (_("Factor:")); |
374 gtk_widget_set_name (cfg_oversample_label1, "cfg_oversample_label1"); | |
347 gtk_widget_show (cfg_oversample_label1); | 375 gtk_widget_show (cfg_oversample_label1); |
348 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_label1, FALSE, FALSE, 0); | 376 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_label1, FALSE, FALSE, 0); |
349 gtk_label_set_justify (GTK_LABEL (cfg_oversample_label1), GTK_JUSTIFY_CENTER); | 377 gtk_label_set_justify (GTK_LABEL (cfg_oversample_label1), GTK_JUSTIFY_CENTER); |
350 | 378 |
351 cfg_oversample_factor_adj = gtk_adjustment_new (2, 2, 8, 1, 1, 1); | 379 cfg_oversample_factor_adj = gtk_adjustment_new (2, 2, 8, 1, 1, 1); |
352 cfg_oversample_factor = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_oversample_factor_adj), 1, 0); | 380 cfg_oversample_factor = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_oversample_factor_adj), 1, 0); |
381 gtk_widget_set_name (cfg_oversample_factor, "cfg_oversample_factor"); | |
353 gtk_widget_show (cfg_oversample_factor); | 382 gtk_widget_show (cfg_oversample_factor); |
354 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_factor, FALSE, TRUE, 0); | 383 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_factor, FALSE, TRUE, 0); |
355 | 384 |
356 cfg_oversample_label2 = gtk_label_new (_("Large factors require more CPU-power")); | 385 cfg_oversample_label2 = gtk_label_new (_("Large factors require more CPU-power")); |
386 gtk_widget_set_name (cfg_oversample_label2, "cfg_oversample_label2"); | |
357 gtk_widget_show (cfg_oversample_label2); | 387 gtk_widget_show (cfg_oversample_label2); |
358 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_label2, FALSE, FALSE, 0); | 388 gtk_box_pack_start (GTK_BOX (cfg_oversample_box), cfg_oversample_label2, FALSE, FALSE, 0); |
359 gtk_label_set_justify (GTK_LABEL (cfg_oversample_label2), GTK_JUSTIFY_CENTER); | 389 gtk_label_set_justify (GTK_LABEL (cfg_oversample_label2), GTK_JUSTIFY_CENTER); |
360 | 390 |
361 label4 = gtk_label_new (_("Oversampling:")); | 391 label4 = gtk_label_new (_("Oversampling:")); |
392 gtk_widget_set_name (label4, "label4"); | |
362 gtk_widget_show (label4); | 393 gtk_widget_show (label4); |
363 gtk_frame_set_label_widget (GTK_FRAME (cfg_oversample_frame), label4); | 394 gtk_frame_set_label_widget (GTK_FRAME (cfg_oversample_frame), label4); |
364 | 395 |
365 w_label1 = gtk_label_new (_("Audio")); | 396 w_label1 = gtk_label_new (_("Audio")); |
397 gtk_widget_set_name (w_label1, "w_label1"); | |
366 gtk_widget_show (w_label1); | 398 gtk_widget_show (w_label1); |
367 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 0), w_label1); | 399 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 0), w_label1); |
368 gtk_label_set_justify (GTK_LABEL (w_label1), GTK_JUSTIFY_CENTER); | 400 gtk_label_set_justify (GTK_LABEL (w_label1), GTK_JUSTIFY_CENTER); |
369 | 401 |
370 w_vbox2 = gtk_vbox_new (FALSE, 0); | 402 w_vbox2 = gtk_vbox_new (FALSE, 0); |
403 gtk_widget_set_name (w_vbox2, "w_vbox2"); | |
371 gtk_widget_show (w_vbox2); | 404 gtk_widget_show (w_vbox2); |
372 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox2); | 405 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox2); |
373 | 406 |
374 w_hbox1 = gtk_hbox_new (FALSE, 0); | 407 w_hbox1 = gtk_hbox_new (FALSE, 0); |
408 gtk_widget_set_name (w_hbox1, "w_hbox1"); | |
375 gtk_widget_show (w_hbox1); | 409 gtk_widget_show (w_hbox1); |
376 gtk_box_pack_start (GTK_BOX (w_vbox2), w_hbox1, FALSE, TRUE, 0); | 410 gtk_box_pack_start (GTK_BOX (w_vbox2), w_hbox1, FALSE, TRUE, 0); |
377 | 411 |
378 cfg_clock_frame = gtk_frame_new (NULL); | 412 cfg_clock_frame = gtk_frame_new (NULL); |
413 gtk_widget_set_name (cfg_clock_frame, "cfg_clock_frame"); | |
379 gtk_widget_show (cfg_clock_frame); | 414 gtk_widget_show (cfg_clock_frame); |
380 gtk_box_pack_start (GTK_BOX (w_hbox1), cfg_clock_frame, TRUE, TRUE, 0); | 415 gtk_box_pack_start (GTK_BOX (w_hbox1), cfg_clock_frame, TRUE, TRUE, 0); |
381 gtk_container_set_border_width (GTK_CONTAINER (cfg_clock_frame), 4); | 416 gtk_container_set_border_width (GTK_CONTAINER (cfg_clock_frame), 4); |
382 | 417 |
383 w_vbox4 = gtk_vbox_new (FALSE, 2); | 418 w_vbox4 = gtk_vbox_new (FALSE, 2); |
419 gtk_widget_set_name (w_vbox4, "w_vbox4"); | |
384 gtk_widget_show (w_vbox4); | 420 gtk_widget_show (w_vbox4); |
385 gtk_container_add (GTK_CONTAINER (cfg_clock_frame), w_vbox4); | 421 gtk_container_add (GTK_CONTAINER (cfg_clock_frame), w_vbox4); |
386 gtk_container_set_border_width (GTK_CONTAINER (w_vbox4), 2); | 422 gtk_container_set_border_width (GTK_CONTAINER (w_vbox4), 2); |
387 | 423 |
388 cfg_emu_clock_force = gtk_check_button_new_with_mnemonic (_("Force speed")); | 424 cfg_emu_clock_force = gtk_check_button_new_with_mnemonic (_("Force speed")); |
425 gtk_widget_set_name (cfg_emu_clock_force, "cfg_emu_clock_force"); | |
389 gtk_widget_show (cfg_emu_clock_force); | 426 gtk_widget_show (cfg_emu_clock_force); |
390 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_force, FALSE, FALSE, 0); | 427 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_force, FALSE, FALSE, 0); |
391 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_force, _("If enabled, this option \"forces\" the emulation engine to use the selected clock speed/frequency. Otherwise the speed is determined from played file itself."), NULL); | 428 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_force, _("If enabled, this option \"forces\" the emulation engine to use the selected clock speed/frequency. Otherwise the speed is determined from played file itself."), NULL); |
392 | 429 |
393 cfg_emu_clock_pal = gtk_radio_button_new_with_mnemonic (NULL, _("PAL (50 Hz)")); | 430 cfg_emu_clock_pal = gtk_radio_button_new_with_mnemonic (NULL, _("PAL (50 Hz)")); |
431 gtk_widget_set_name (cfg_emu_clock_pal, "cfg_emu_clock_pal"); | |
394 gtk_widget_show (cfg_emu_clock_pal); | 432 gtk_widget_show (cfg_emu_clock_pal); |
395 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_pal, FALSE, FALSE, 0); | 433 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_pal, FALSE, FALSE, 0); |
396 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_pal, _("PAL is the european TV standard, which uses 50Hz vertical refresh frequency. Most of SID-tunes have been made for PAL computers."), NULL); | 434 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_pal, _("PAL is the european TV standard, which uses 50Hz vertical refresh frequency. Most of SID-tunes have been made for PAL computers."), NULL); |
397 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_clock_pal), cfg_emu_clock_pal_group); | 435 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_clock_pal), cfg_emu_clock_pal_group); |
398 cfg_emu_clock_pal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_clock_pal)); | 436 cfg_emu_clock_pal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_clock_pal)); |
399 | 437 |
400 cfg_emu_clock_ntsc = gtk_radio_button_new_with_mnemonic (NULL, _("NTSC (60 Hz)")); | 438 cfg_emu_clock_ntsc = gtk_radio_button_new_with_mnemonic (NULL, _("NTSC (60 Hz)")); |
439 gtk_widget_set_name (cfg_emu_clock_ntsc, "cfg_emu_clock_ntsc"); | |
401 gtk_widget_show (cfg_emu_clock_ntsc); | 440 gtk_widget_show (cfg_emu_clock_ntsc); |
402 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_ntsc, FALSE, FALSE, 0); | 441 gtk_box_pack_start (GTK_BOX (w_vbox4), cfg_emu_clock_ntsc, FALSE, FALSE, 0); |
403 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_ntsc, _("NTSC is the TV standard with 60Hz vertical refresh rate (and other features that differ from PAL). It is mainly used in United States, Japan and certain other countries."), NULL); | 442 gtk_tooltips_set_tip (tooltips, cfg_emu_clock_ntsc, _("NTSC is the TV standard with 60Hz vertical refresh rate (and other features that differ from PAL). It is mainly used in United States, Japan and certain other countries."), NULL); |
404 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_clock_ntsc), cfg_emu_clock_pal_group); | 443 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_clock_ntsc), cfg_emu_clock_pal_group); |
405 cfg_emu_clock_pal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_clock_ntsc)); | 444 cfg_emu_clock_pal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_clock_ntsc)); |
406 | 445 |
407 label5 = gtk_label_new (_("Clock speed:")); | 446 label5 = gtk_label_new (_("Clock speed:")); |
447 gtk_widget_set_name (label5, "label5"); | |
408 gtk_widget_show (label5); | 448 gtk_widget_show (label5); |
409 gtk_frame_set_label_widget (GTK_FRAME (cfg_clock_frame), label5); | 449 gtk_frame_set_label_widget (GTK_FRAME (cfg_clock_frame), label5); |
410 | 450 |
411 cfg_sid_model_frame = gtk_frame_new (NULL); | 451 cfg_sid_model_frame = gtk_frame_new (NULL); |
452 gtk_widget_set_name (cfg_sid_model_frame, "cfg_sid_model_frame"); | |
412 gtk_widget_show (cfg_sid_model_frame); | 453 gtk_widget_show (cfg_sid_model_frame); |
413 gtk_box_pack_start (GTK_BOX (w_hbox1), cfg_sid_model_frame, TRUE, TRUE, 0); | 454 gtk_box_pack_start (GTK_BOX (w_hbox1), cfg_sid_model_frame, TRUE, TRUE, 0); |
414 gtk_container_set_border_width (GTK_CONTAINER (cfg_sid_model_frame), 4); | 455 gtk_container_set_border_width (GTK_CONTAINER (cfg_sid_model_frame), 4); |
415 | 456 |
416 w_vbox3 = gtk_vbox_new (FALSE, 2); | 457 w_vbox3 = gtk_vbox_new (FALSE, 2); |
458 gtk_widget_set_name (w_vbox3, "w_vbox3"); | |
417 gtk_widget_show (w_vbox3); | 459 gtk_widget_show (w_vbox3); |
418 gtk_container_add (GTK_CONTAINER (cfg_sid_model_frame), w_vbox3); | 460 gtk_container_add (GTK_CONTAINER (cfg_sid_model_frame), w_vbox3); |
419 gtk_container_set_border_width (GTK_CONTAINER (w_vbox3), 2); | 461 gtk_container_set_border_width (GTK_CONTAINER (w_vbox3), 2); |
420 | 462 |
421 cfg_emu_sid_force = gtk_check_button_new_with_mnemonic (_("Force model")); | 463 cfg_emu_sid_force = gtk_check_button_new_with_mnemonic (_("Force model")); |
464 gtk_widget_set_name (cfg_emu_sid_force, "cfg_emu_sid_force"); | |
422 gtk_widget_show (cfg_emu_sid_force); | 465 gtk_widget_show (cfg_emu_sid_force); |
423 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_sid_force, FALSE, FALSE, 0); | 466 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_sid_force, FALSE, FALSE, 0); |
424 gtk_tooltips_set_tip (tooltips, cfg_emu_sid_force, _("If enabled, this option \"forces\" the emulation engine to use the selected SID-chip model. Otherwise the preferred SID model is determined from the file (if PSIDv2NG type) or if not available, this setting is used."), NULL); | 467 gtk_tooltips_set_tip (tooltips, cfg_emu_sid_force, _("If enabled, this option \"forces\" the emulation engine to use the selected SID-chip model. Otherwise the preferred SID model is determined from the file (if PSIDv2NG type) or if not available, this setting is used."), NULL); |
425 | 468 |
426 cfg_emu_mos6581 = gtk_radio_button_new_with_mnemonic (NULL, _("MOS 6581")); | 469 cfg_emu_mos6581 = gtk_radio_button_new_with_mnemonic (NULL, _("MOS 6581")); |
470 gtk_widget_set_name (cfg_emu_mos6581, "cfg_emu_mos6581"); | |
427 gtk_widget_show (cfg_emu_mos6581); | 471 gtk_widget_show (cfg_emu_mos6581); |
428 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_mos6581, FALSE, FALSE, 0); | 472 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_mos6581, FALSE, FALSE, 0); |
429 gtk_tooltips_set_tip (tooltips, cfg_emu_mos6581, _("MOS/CSG 6581 is the earlier major version of SID chip. It differs from 8580 in few ways, having much fuller filter (which, due to design error, is never same between two different SID-chips) and has the \"volume adjustment bug\", which enables playing of digital samples."), NULL); | 473 gtk_tooltips_set_tip (tooltips, cfg_emu_mos6581, _("MOS/CSG 6581 is the earlier major version of SID chip. It differs from 8580 in few ways, having much fuller filter (which, due to design error, is never same between two different SID-chips) and has the \"volume adjustment bug\", which enables playing of digital samples."), NULL); |
430 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mos6581), cfg_emu_mos6581_group); | 474 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mos6581), cfg_emu_mos6581_group); |
431 cfg_emu_mos6581_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mos6581)); | 475 cfg_emu_mos6581_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mos6581)); |
432 | 476 |
433 cfg_emu_mos8580 = gtk_radio_button_new_with_mnemonic (NULL, _("MOS 8580")); | 477 cfg_emu_mos8580 = gtk_radio_button_new_with_mnemonic (NULL, _("MOS 8580")); |
478 gtk_widget_set_name (cfg_emu_mos8580, "cfg_emu_mos8580"); | |
434 gtk_widget_show (cfg_emu_mos8580); | 479 gtk_widget_show (cfg_emu_mos8580); |
435 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_mos8580, FALSE, FALSE, 0); | 480 gtk_box_pack_start (GTK_BOX (w_vbox3), cfg_emu_mos8580, FALSE, FALSE, 0); |
436 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mos8580), cfg_emu_mos6581_group); | 481 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mos8580), cfg_emu_mos6581_group); |
437 cfg_emu_mos6581_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mos8580)); | 482 cfg_emu_mos6581_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mos8580)); |
438 | 483 |
439 label6 = gtk_label_new (_("SID model:")); | 484 label6 = gtk_label_new (_("SID model:")); |
485 gtk_widget_set_name (label6, "label6"); | |
440 gtk_widget_show (label6); | 486 gtk_widget_show (label6); |
441 gtk_frame_set_label_widget (GTK_FRAME (cfg_sid_model_frame), label6); | 487 gtk_frame_set_label_widget (GTK_FRAME (cfg_sid_model_frame), label6); |
442 | 488 |
443 cfg_emulib_frame = gtk_frame_new (NULL); | 489 cfg_emulib_frame = gtk_frame_new (NULL); |
490 gtk_widget_set_name (cfg_emulib_frame, "cfg_emulib_frame"); | |
444 gtk_widget_show (cfg_emulib_frame); | 491 gtk_widget_show (cfg_emulib_frame); |
445 gtk_box_pack_start (GTK_BOX (w_vbox2), cfg_emulib_frame, FALSE, FALSE, 0); | 492 gtk_box_pack_start (GTK_BOX (w_vbox2), cfg_emulib_frame, FALSE, FALSE, 0); |
446 gtk_container_set_border_width (GTK_CONTAINER (cfg_emulib_frame), 4); | 493 gtk_container_set_border_width (GTK_CONTAINER (cfg_emulib_frame), 4); |
447 | 494 |
448 w_vbox26 = gtk_vbox_new (FALSE, 2); | 495 w_vbox26 = gtk_vbox_new (FALSE, 2); |
496 gtk_widget_set_name (w_vbox26, "w_vbox26"); | |
449 gtk_widget_show (w_vbox26); | 497 gtk_widget_show (w_vbox26); |
450 gtk_container_add (GTK_CONTAINER (cfg_emulib_frame), w_vbox26); | 498 gtk_container_add (GTK_CONTAINER (cfg_emulib_frame), w_vbox26); |
451 gtk_container_set_border_width (GTK_CONTAINER (w_vbox26), 2); | 499 gtk_container_set_border_width (GTK_CONTAINER (w_vbox26), 2); |
452 | 500 |
453 cfg_emu_sidplay1 = gtk_radio_button_new_with_mnemonic (NULL, _("SIDPlay 1 (frame-based)")); | 501 cfg_emu_sidplay1 = gtk_radio_button_new_with_mnemonic (NULL, _("SIDPlay 1 (frame-based)")); |
502 gtk_widget_set_name (cfg_emu_sidplay1, "cfg_emu_sidplay1"); | |
454 gtk_widget_show (cfg_emu_sidplay1); | 503 gtk_widget_show (cfg_emu_sidplay1); |
455 gtk_box_pack_start (GTK_BOX (w_vbox26), cfg_emu_sidplay1, FALSE, FALSE, 0); | 504 gtk_box_pack_start (GTK_BOX (w_vbox26), cfg_emu_sidplay1, FALSE, FALSE, 0); |
456 gtk_tooltips_set_tip (tooltips, cfg_emu_sidplay1, _("Use libSIDPlay 1.x emulation, faster but not so accurate. Good in most cases, though."), NULL); | 505 gtk_tooltips_set_tip (tooltips, cfg_emu_sidplay1, _("Use libSIDPlay 1.x emulation, faster but not so accurate. Good in most cases, though."), NULL); |
457 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sidplay1), cfg_emu_sidplay1_group); | 506 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sidplay1), cfg_emu_sidplay1_group); |
458 cfg_emu_sidplay1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sidplay1)); | 507 cfg_emu_sidplay1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sidplay1)); |
459 | 508 |
460 cfg_emu_sidplay2 = gtk_radio_button_new_with_mnemonic (NULL, _("SIDPlay 2 (cycle-based)")); | 509 cfg_emu_sidplay2 = gtk_radio_button_new_with_mnemonic (NULL, _("SIDPlay 2 (cycle-based)")); |
510 gtk_widget_set_name (cfg_emu_sidplay2, "cfg_emu_sidplay2"); | |
461 gtk_widget_show (cfg_emu_sidplay2); | 511 gtk_widget_show (cfg_emu_sidplay2); |
462 gtk_box_pack_start (GTK_BOX (w_vbox26), cfg_emu_sidplay2, FALSE, FALSE, 0); | 512 gtk_box_pack_start (GTK_BOX (w_vbox26), cfg_emu_sidplay2, FALSE, FALSE, 0); |
463 gtk_tooltips_set_tip (tooltips, cfg_emu_sidplay2, _("Use libSIDPlay 2.x emulation, which requires powerful CPU due to more exact emulation."), NULL); | 513 gtk_tooltips_set_tip (tooltips, cfg_emu_sidplay2, _("Use libSIDPlay 2.x emulation, which requires powerful CPU due to more exact emulation."), NULL); |
464 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sidplay2), cfg_emu_sidplay1_group); | 514 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sidplay2), cfg_emu_sidplay1_group); |
465 cfg_emu_sidplay1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sidplay2)); | 515 cfg_emu_sidplay1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sidplay2)); |
466 | 516 |
467 label7 = gtk_label_new (_("Emulation library selection:")); | 517 label7 = gtk_label_new (_("Emulation library selection:")); |
518 gtk_widget_set_name (label7, "label7"); | |
468 gtk_widget_show (label7); | 519 gtk_widget_show (label7); |
469 gtk_frame_set_label_widget (GTK_FRAME (cfg_emulib_frame), label7); | 520 gtk_frame_set_label_widget (GTK_FRAME (cfg_emulib_frame), label7); |
470 | 521 |
471 cfg_memmode_frame = gtk_frame_new (NULL); | 522 cfg_memmode_frame = gtk_frame_new (NULL); |
523 gtk_widget_set_name (cfg_memmode_frame, "cfg_memmode_frame"); | |
472 gtk_widget_show (cfg_memmode_frame); | 524 gtk_widget_show (cfg_memmode_frame); |
473 gtk_box_pack_start (GTK_BOX (w_vbox2), cfg_memmode_frame, FALSE, FALSE, 0); | 525 gtk_box_pack_start (GTK_BOX (w_vbox2), cfg_memmode_frame, FALSE, FALSE, 0); |
474 gtk_container_set_border_width (GTK_CONTAINER (cfg_memmode_frame), 4); | 526 gtk_container_set_border_width (GTK_CONTAINER (cfg_memmode_frame), 4); |
475 | 527 |
476 w_vbox5 = gtk_vbox_new (FALSE, 2); | 528 w_vbox5 = gtk_vbox_new (FALSE, 2); |
529 gtk_widget_set_name (w_vbox5, "w_vbox5"); | |
477 gtk_widget_show (w_vbox5); | 530 gtk_widget_show (w_vbox5); |
478 gtk_container_add (GTK_CONTAINER (cfg_memmode_frame), w_vbox5); | 531 gtk_container_add (GTK_CONTAINER (cfg_memmode_frame), w_vbox5); |
479 gtk_container_set_border_width (GTK_CONTAINER (w_vbox5), 2); | 532 gtk_container_set_border_width (GTK_CONTAINER (w_vbox5), 2); |
480 | 533 |
481 cfg_emu_mem_real = gtk_radio_button_new_with_mnemonic (NULL, _("Real C64 (SIDPlay 2 only)")); | 534 cfg_emu_mem_real = gtk_radio_button_new_with_mnemonic (NULL, _("Real C64 (SIDPlay 2 only)")); |
535 gtk_widget_set_name (cfg_emu_mem_real, "cfg_emu_mem_real"); | |
482 gtk_widget_show (cfg_emu_mem_real); | 536 gtk_widget_show (cfg_emu_mem_real); |
483 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_real, FALSE, FALSE, 0); | 537 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_real, FALSE, FALSE, 0); |
484 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_real), cfg_emu_mem_real_group); | 538 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_real), cfg_emu_mem_real_group); |
485 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_real)); | 539 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_real)); |
486 | 540 |
487 cfg_emu_mem_banksw = gtk_radio_button_new_with_mnemonic (NULL, _("Bank switching")); | 541 cfg_emu_mem_banksw = gtk_radio_button_new_with_mnemonic (NULL, _("Bank switching")); |
542 gtk_widget_set_name (cfg_emu_mem_banksw, "cfg_emu_mem_banksw"); | |
488 gtk_widget_show (cfg_emu_mem_banksw); | 543 gtk_widget_show (cfg_emu_mem_banksw); |
489 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_banksw, FALSE, FALSE, 0); | 544 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_banksw, FALSE, FALSE, 0); |
490 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_banksw), cfg_emu_mem_real_group); | 545 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_banksw), cfg_emu_mem_real_group); |
491 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_banksw)); | 546 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_banksw)); |
492 | 547 |
493 cfg_emu_mem_transrom = gtk_radio_button_new_with_mnemonic (NULL, _("Transparent ROM")); | 548 cfg_emu_mem_transrom = gtk_radio_button_new_with_mnemonic (NULL, _("Transparent ROM")); |
549 gtk_widget_set_name (cfg_emu_mem_transrom, "cfg_emu_mem_transrom"); | |
494 gtk_widget_show (cfg_emu_mem_transrom); | 550 gtk_widget_show (cfg_emu_mem_transrom); |
495 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_transrom, FALSE, FALSE, 0); | 551 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_transrom, FALSE, FALSE, 0); |
496 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_transrom), cfg_emu_mem_real_group); | 552 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_transrom), cfg_emu_mem_real_group); |
497 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_transrom)); | 553 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_transrom)); |
498 | 554 |
499 cfg_emu_mem_playsid = gtk_radio_button_new_with_mnemonic (NULL, _("PlaySID environment")); | 555 cfg_emu_mem_playsid = gtk_radio_button_new_with_mnemonic (NULL, _("PlaySID environment")); |
556 gtk_widget_set_name (cfg_emu_mem_playsid, "cfg_emu_mem_playsid"); | |
500 gtk_widget_show (cfg_emu_mem_playsid); | 557 gtk_widget_show (cfg_emu_mem_playsid); |
501 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_playsid, FALSE, FALSE, 0); | 558 gtk_box_pack_start (GTK_BOX (w_vbox5), cfg_emu_mem_playsid, FALSE, FALSE, 0); |
502 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_playsid), cfg_emu_mem_real_group); | 559 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_mem_playsid), cfg_emu_mem_real_group); |
503 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_playsid)); | 560 cfg_emu_mem_real_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_mem_playsid)); |
504 | 561 |
505 label8 = gtk_label_new (_("Memory mode:")); | 562 label8 = gtk_label_new (_("Memory mode:")); |
563 gtk_widget_set_name (label8, "label8"); | |
506 gtk_widget_show (label8); | 564 gtk_widget_show (label8); |
507 gtk_frame_set_label_widget (GTK_FRAME (cfg_memmode_frame), label8); | 565 gtk_frame_set_label_widget (GTK_FRAME (cfg_memmode_frame), label8); |
508 | 566 |
509 w_label2 = gtk_label_new (_("Emu#1")); | 567 w_label2 = gtk_label_new (_("Emu#1")); |
568 gtk_widget_set_name (w_label2, "w_label2"); | |
510 gtk_widget_show (w_label2); | 569 gtk_widget_show (w_label2); |
511 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 1), w_label2); | 570 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 1), w_label2); |
512 gtk_label_set_justify (GTK_LABEL (w_label2), GTK_JUSTIFY_CENTER); | 571 gtk_label_set_justify (GTK_LABEL (w_label2), GTK_JUSTIFY_CENTER); |
513 | 572 |
514 w_vbox29 = gtk_vbox_new (FALSE, 0); | 573 w_vbox29 = gtk_vbox_new (FALSE, 0); |
574 gtk_widget_set_name (w_vbox29, "w_vbox29"); | |
515 gtk_widget_show (w_vbox29); | 575 gtk_widget_show (w_vbox29); |
516 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox29); | 576 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox29); |
517 | 577 |
518 cfg_sidplay2_frame = gtk_frame_new (NULL); | 578 cfg_sidplay2_frame = gtk_frame_new (NULL); |
579 gtk_widget_set_name (cfg_sidplay2_frame, "cfg_sidplay2_frame"); | |
519 gtk_widget_show (cfg_sidplay2_frame); | 580 gtk_widget_show (cfg_sidplay2_frame); |
520 gtk_box_pack_start (GTK_BOX (w_vbox29), cfg_sidplay2_frame, FALSE, TRUE, 0); | 581 gtk_box_pack_start (GTK_BOX (w_vbox29), cfg_sidplay2_frame, FALSE, TRUE, 0); |
521 gtk_container_set_border_width (GTK_CONTAINER (cfg_sidplay2_frame), 4); | 582 gtk_container_set_border_width (GTK_CONTAINER (cfg_sidplay2_frame), 4); |
522 | 583 |
523 w_vbox30 = gtk_vbox_new (FALSE, 2); | 584 w_vbox30 = gtk_vbox_new (FALSE, 2); |
585 gtk_widget_set_name (w_vbox30, "w_vbox30"); | |
524 gtk_widget_show (w_vbox30); | 586 gtk_widget_show (w_vbox30); |
525 gtk_container_add (GTK_CONTAINER (cfg_sidplay2_frame), w_vbox30); | 587 gtk_container_add (GTK_CONTAINER (cfg_sidplay2_frame), w_vbox30); |
526 gtk_container_set_border_width (GTK_CONTAINER (w_vbox30), 2); | 588 gtk_container_set_border_width (GTK_CONTAINER (w_vbox30), 2); |
527 | 589 |
528 cfg_emu_sp2_opt = gtk_check_button_new_with_mnemonic (_("Optimization mode (faster, inaccurate)")); | 590 cfg_emu_sp2_opt = gtk_check_button_new_with_mnemonic (_("Optimization mode (faster, inaccurate)")); |
591 gtk_widget_set_name (cfg_emu_sp2_opt, "cfg_emu_sp2_opt"); | |
529 gtk_widget_show (cfg_emu_sp2_opt); | 592 gtk_widget_show (cfg_emu_sp2_opt); |
530 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_opt, FALSE, FALSE, 0); | 593 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_opt, FALSE, FALSE, 0); |
531 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_opt, _("This setting can be used to enable libSIDPlay2's \"optimization mode\", which in downgrades the emulation from cycle-exact to something similar to frame-exact. The result is lower CPU usage, but worse accuracy."), NULL); | 594 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_opt, _("This setting can be used to enable libSIDPlay2's \"optimization mode\", which in downgrades the emulation from cycle-exact to something similar to frame-exact. The result is lower CPU usage, but worse accuracy."), NULL); |
532 | 595 |
533 cfg_emu_sp2_resid = gtk_radio_button_new_with_mnemonic (NULL, _("reSID-emulation")); | 596 cfg_emu_sp2_resid = gtk_radio_button_new_with_mnemonic (NULL, _("reSID-emulation")); |
597 gtk_widget_set_name (cfg_emu_sp2_resid, "cfg_emu_sp2_resid"); | |
534 gtk_widget_show (cfg_emu_sp2_resid); | 598 gtk_widget_show (cfg_emu_sp2_resid); |
535 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_resid, FALSE, FALSE, 0); | 599 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_resid, FALSE, FALSE, 0); |
536 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_resid, _("reSID is the software SID-chip simulator based on SID reverse-engineering, created by Dag Lem. It is probably the closest thing to real SID available as software-only emulation."), NULL); | 600 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_resid, _("reSID is the software SID-chip simulator based on SID reverse-engineering, created by Dag Lem. It is probably the closest thing to real SID available as software-only emulation."), NULL); |
537 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sp2_resid), cfg_emu_sp2_resid_group); | 601 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sp2_resid), cfg_emu_sp2_resid_group); |
538 cfg_emu_sp2_resid_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sp2_resid)); | 602 cfg_emu_sp2_resid_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sp2_resid)); |
539 | 603 |
540 cfg_emu_sp2_hardsid = gtk_radio_button_new_with_mnemonic (NULL, _("HardSID")); | 604 cfg_emu_sp2_hardsid = gtk_radio_button_new_with_mnemonic (NULL, _("HardSID")); |
605 gtk_widget_set_name (cfg_emu_sp2_hardsid, "cfg_emu_sp2_hardsid"); | |
541 gtk_widget_show (cfg_emu_sp2_hardsid); | 606 gtk_widget_show (cfg_emu_sp2_hardsid); |
542 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_hardsid, FALSE, FALSE, 0); | 607 gtk_box_pack_start (GTK_BOX (w_vbox30), cfg_emu_sp2_hardsid, FALSE, FALSE, 0); |
543 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_hardsid, _("HardSID is a EISA/PCI card for PC-compatibles, which can be fitted with a real SID-chip. Software can be used to control the HardSID and combined with software emulation of rest of C64 via libSIDPlay2 HardSID can be used to achieve \"near 100%\" similarity to real C64. For more information, see http://www.hardsid.com/"), NULL); | 608 gtk_tooltips_set_tip (tooltips, cfg_emu_sp2_hardsid, _("HardSID is a EISA/PCI card for PC-compatibles, which can be fitted with a real SID-chip. Software can be used to control the HardSID and combined with software emulation of rest of C64 via libSIDPlay2 HardSID can be used to achieve \"near 100%\" similarity to real C64. For more information, see http://www.hardsid.com/"), NULL); |
544 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sp2_hardsid), cfg_emu_sp2_resid_group); | 609 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_sp2_hardsid), cfg_emu_sp2_resid_group); |
545 cfg_emu_sp2_resid_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sp2_hardsid)); | 610 cfg_emu_sp2_resid_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_sp2_hardsid)); |
546 | 611 |
547 label9 = gtk_label_new (_("SIDPlay 2 options:")); | 612 label9 = gtk_label_new (_("SIDPlay 2 options:")); |
613 gtk_widget_set_name (label9, "label9"); | |
548 gtk_widget_show (label9); | 614 gtk_widget_show (label9); |
549 gtk_frame_set_label_widget (GTK_FRAME (cfg_sidplay2_frame), label9); | 615 gtk_frame_set_label_widget (GTK_FRAME (cfg_sidplay2_frame), label9); |
550 | 616 |
551 cfg_resid_frame = gtk_frame_new (NULL); | 617 cfg_resid_frame = gtk_frame_new (NULL); |
618 gtk_widget_set_name (cfg_resid_frame, "cfg_resid_frame"); | |
552 gtk_widget_show (cfg_resid_frame); | 619 gtk_widget_show (cfg_resid_frame); |
553 gtk_box_pack_start (GTK_BOX (w_vbox29), cfg_resid_frame, FALSE, TRUE, 0); | 620 gtk_box_pack_start (GTK_BOX (w_vbox29), cfg_resid_frame, FALSE, TRUE, 0); |
554 gtk_container_set_border_width (GTK_CONTAINER (cfg_resid_frame), 4); | 621 gtk_container_set_border_width (GTK_CONTAINER (cfg_resid_frame), 4); |
555 | 622 |
556 w_vbox37 = gtk_vbox_new (FALSE, 2); | 623 w_vbox37 = gtk_vbox_new (FALSE, 2); |
624 gtk_widget_set_name (w_vbox37, "w_vbox37"); | |
557 gtk_widget_show (w_vbox37); | 625 gtk_widget_show (w_vbox37); |
558 gtk_container_add (GTK_CONTAINER (cfg_resid_frame), w_vbox37); | 626 gtk_container_add (GTK_CONTAINER (cfg_resid_frame), w_vbox37); |
559 gtk_container_set_border_width (GTK_CONTAINER (w_vbox37), 2); | 627 gtk_container_set_border_width (GTK_CONTAINER (w_vbox37), 2); |
560 | 628 |
561 cfg_emu_resid_fast = gtk_radio_button_new_with_mnemonic (NULL, _("Fast (nearest neighbour)")); | 629 cfg_emu_resid_fast = gtk_radio_button_new_with_mnemonic (NULL, _("Fast (nearest neighbour)")); |
630 gtk_widget_set_name (cfg_emu_resid_fast, "cfg_emu_resid_fast"); | |
562 gtk_widget_show (cfg_emu_resid_fast); | 631 gtk_widget_show (cfg_emu_resid_fast); |
563 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_fast, FALSE, FALSE, 0); | 632 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_fast, FALSE, FALSE, 0); |
564 gtk_tooltips_set_tip (tooltips, cfg_emu_resid_fast, _("Fastest and also worst sounding sampling method, simply picks nearest neighbouring sample."), NULL); | 633 gtk_tooltips_set_tip (tooltips, cfg_emu_resid_fast, _("Fastest and also worst sounding sampling method, simply picks nearest neighbouring sample."), NULL); |
565 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_fast), cfg_emu_resid_fast_group); | 634 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_fast), cfg_emu_resid_fast_group); |
566 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_fast)); | 635 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_fast)); |
567 | 636 |
568 cfg_emu_resid_int = gtk_radio_button_new_with_mnemonic (NULL, _("Linear interpolation")); | 637 cfg_emu_resid_int = gtk_radio_button_new_with_mnemonic (NULL, _("Linear interpolation")); |
638 gtk_widget_set_name (cfg_emu_resid_int, "cfg_emu_resid_int"); | |
569 gtk_widget_show (cfg_emu_resid_int); | 639 gtk_widget_show (cfg_emu_resid_int); |
570 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_int, FALSE, FALSE, 0); | 640 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_int, FALSE, FALSE, 0); |
571 gtk_tooltips_set_tip (tooltips, cfg_emu_resid_int, _("Uses linear interpolation between samples, yielding higher audio quality with less sampling noise."), NULL); | 641 gtk_tooltips_set_tip (tooltips, cfg_emu_resid_int, _("Uses linear interpolation between samples, yielding higher audio quality with less sampling noise."), NULL); |
572 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_int), cfg_emu_resid_fast_group); | 642 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_int), cfg_emu_resid_fast_group); |
573 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_int)); | 643 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_int)); |
574 | 644 |
575 cfg_emu_resid_res_fast = gtk_radio_button_new_with_mnemonic (NULL, _("Resampling")); | 645 cfg_emu_resid_res_fast = gtk_radio_button_new_with_mnemonic (NULL, _("Resampling")); |
646 gtk_widget_set_name (cfg_emu_resid_res_fast, "cfg_emu_resid_res_fast"); | |
576 gtk_widget_show (cfg_emu_resid_res_fast); | 647 gtk_widget_show (cfg_emu_resid_res_fast); |
577 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_res_fast, FALSE, FALSE, 0); | 648 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_res_fast, FALSE, FALSE, 0); |
578 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_fast), cfg_emu_resid_fast_group); | 649 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_fast), cfg_emu_resid_fast_group); |
579 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_fast)); | 650 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_fast)); |
580 | 651 |
581 cfg_emu_resid_res_int = gtk_radio_button_new_with_mnemonic (NULL, _("Resampling (FIR)")); | 652 cfg_emu_resid_res_int = gtk_radio_button_new_with_mnemonic (NULL, _("Resampling (FIR)")); |
653 gtk_widget_set_name (cfg_emu_resid_res_int, "cfg_emu_resid_res_int"); | |
582 gtk_widget_show (cfg_emu_resid_res_int); | 654 gtk_widget_show (cfg_emu_resid_res_int); |
583 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_res_int, FALSE, FALSE, 0); | 655 gtk_box_pack_start (GTK_BOX (w_vbox37), cfg_emu_resid_res_int, FALSE, FALSE, 0); |
584 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_int), cfg_emu_resid_fast_group); | 656 gtk_radio_button_set_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_int), cfg_emu_resid_fast_group); |
585 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_int)); | 657 cfg_emu_resid_fast_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (cfg_emu_resid_res_int)); |
586 | 658 |
587 label10 = gtk_label_new (_("reSID sampling options:")); | 659 label10 = gtk_label_new (_("reSID sampling options:")); |
660 gtk_widget_set_name (label10, "label10"); | |
588 gtk_widget_show (label10); | 661 gtk_widget_show (label10); |
589 gtk_frame_set_label_widget (GTK_FRAME (cfg_resid_frame), label10); | 662 gtk_frame_set_label_widget (GTK_FRAME (cfg_resid_frame), label10); |
590 | 663 |
591 w_label48 = gtk_label_new (_("Emu#2")); | 664 w_label48 = gtk_label_new (_("Emu#2")); |
665 gtk_widget_set_name (w_label48, "w_label48"); | |
592 gtk_widget_show (w_label48); | 666 gtk_widget_show (w_label48); |
593 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 2), w_label48); | 667 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 2), w_label48); |
594 gtk_label_set_justify (GTK_LABEL (w_label48), GTK_JUSTIFY_CENTER); | 668 gtk_label_set_justify (GTK_LABEL (w_label48), GTK_JUSTIFY_CENTER); |
595 | 669 |
596 w_vbox25 = gtk_vbox_new (FALSE, 2); | 670 w_vbox25 = gtk_vbox_new (FALSE, 2); |
671 gtk_widget_set_name (w_vbox25, "w_vbox25"); | |
597 gtk_widget_show (w_vbox25); | 672 gtk_widget_show (w_vbox25); |
598 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox25); | 673 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox25); |
599 gtk_container_set_border_width (GTK_CONTAINER (w_vbox25), 4); | 674 gtk_container_set_border_width (GTK_CONTAINER (w_vbox25), 4); |
600 | 675 |
601 cfg_emu_filters = gtk_check_button_new_with_mnemonic (_("Emulate filters")); | 676 cfg_emu_filters = gtk_check_button_new_with_mnemonic (_("Emulate filters")); |
677 gtk_widget_set_name (cfg_emu_filters, "cfg_emu_filters"); | |
602 gtk_widget_show (cfg_emu_filters); | 678 gtk_widget_show (cfg_emu_filters); |
603 gtk_box_pack_start (GTK_BOX (w_vbox25), cfg_emu_filters, FALSE, FALSE, 0); | 679 gtk_box_pack_start (GTK_BOX (w_vbox25), cfg_emu_filters, FALSE, FALSE, 0); |
604 gtk_tooltips_set_tip (tooltips, cfg_emu_filters, _("This option enables emulation of SID filter. The filter is an essential part of SID's sound capacity, but accurate emulation of it may require quite much CPU power. However, if filter emulation is disabled, tunes won't sound authentic at all if they utilize the filter."), NULL); | 680 gtk_tooltips_set_tip (tooltips, cfg_emu_filters, _("This option enables emulation of SID filter. The filter is an essential part of SID's sound capacity, but accurate emulation of it may require quite much CPU power. However, if filter emulation is disabled, tunes won't sound authentic at all if they utilize the filter."), NULL); |
605 | 681 |
606 cfg_filters_notebook = gtk_notebook_new (); | 682 cfg_filters_notebook = gtk_notebook_new (); |
683 gtk_widget_set_name (cfg_filters_notebook, "cfg_filters_notebook"); | |
607 gtk_widget_show (cfg_filters_notebook); | 684 gtk_widget_show (cfg_filters_notebook); |
608 gtk_box_pack_start (GTK_BOX (w_vbox25), cfg_filters_notebook, TRUE, TRUE, 0); | 685 gtk_box_pack_start (GTK_BOX (w_vbox25), cfg_filters_notebook, TRUE, TRUE, 0); |
609 | 686 |
610 cfg_box_filter_sidplay1 = gtk_hbox_new (FALSE, 0); | 687 cfg_box_filter_sidplay1 = gtk_hbox_new (FALSE, 0); |
688 gtk_widget_set_name (cfg_box_filter_sidplay1, "cfg_box_filter_sidplay1"); | |
611 gtk_widget_show (cfg_box_filter_sidplay1); | 689 gtk_widget_show (cfg_box_filter_sidplay1); |
612 gtk_container_add (GTK_CONTAINER (cfg_filters_notebook), cfg_box_filter_sidplay1); | 690 gtk_container_add (GTK_CONTAINER (cfg_filters_notebook), cfg_box_filter_sidplay1); |
613 gtk_container_set_border_width (GTK_CONTAINER (cfg_box_filter_sidplay1), 4); | 691 gtk_container_set_border_width (GTK_CONTAINER (cfg_box_filter_sidplay1), 4); |
614 | 692 |
615 cfg_sp1_frm_fs = gtk_frame_new (NULL); | 693 cfg_sp1_frm_fs = gtk_frame_new (NULL); |
694 gtk_widget_set_name (cfg_sp1_frm_fs, "cfg_sp1_frm_fs"); | |
616 gtk_widget_show (cfg_sp1_frm_fs); | 695 gtk_widget_show (cfg_sp1_frm_fs); |
617 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_fs, TRUE, TRUE, 0); | 696 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_fs, TRUE, TRUE, 0); |
618 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_fs), 2); | 697 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_fs), 2); |
619 | 698 |
620 cfg_sp1_filter_fs = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 1000, 1, 100, 0))); | 699 cfg_sp1_filter_fs = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 1000, 1, 100, 0))); |
700 gtk_widget_set_name (cfg_sp1_filter_fs, "cfg_sp1_filter_fs"); | |
621 gtk_widget_show (cfg_sp1_filter_fs); | 701 gtk_widget_show (cfg_sp1_filter_fs); |
622 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_fs), cfg_sp1_filter_fs); | 702 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_fs), cfg_sp1_filter_fs); |
623 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_fs), 2); | 703 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_fs), 2); |
624 | 704 |
625 label11 = gtk_label_new (_("FS")); | 705 label11 = gtk_label_new (_("FS")); |
706 gtk_widget_set_name (label11, "label11"); | |
626 gtk_widget_show (label11); | 707 gtk_widget_show (label11); |
627 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_fs), label11); | 708 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_fs), label11); |
628 | 709 |
629 cfg_sp1_frm_fm = gtk_frame_new (NULL); | 710 cfg_sp1_frm_fm = gtk_frame_new (NULL); |
711 gtk_widget_set_name (cfg_sp1_frm_fm, "cfg_sp1_frm_fm"); | |
630 gtk_widget_show (cfg_sp1_frm_fm); | 712 gtk_widget_show (cfg_sp1_frm_fm); |
631 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_fm, TRUE, TRUE, 0); | 713 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_fm, TRUE, TRUE, 0); |
632 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_fm), 2); | 714 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_fm), 2); |
633 | 715 |
634 cfg_sp1_filter_fm = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 100, 1, 10, 0))); | 716 cfg_sp1_filter_fm = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 100, 1, 10, 0))); |
717 gtk_widget_set_name (cfg_sp1_filter_fm, "cfg_sp1_filter_fm"); | |
635 gtk_widget_show (cfg_sp1_filter_fm); | 718 gtk_widget_show (cfg_sp1_filter_fm); |
636 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_fm), cfg_sp1_filter_fm); | 719 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_fm), cfg_sp1_filter_fm); |
637 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_fm), 2); | 720 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_fm), 2); |
638 | 721 |
639 label12 = gtk_label_new (_("FM")); | 722 label12 = gtk_label_new (_("FM")); |
723 gtk_widget_set_name (label12, "label12"); | |
640 gtk_widget_show (label12); | 724 gtk_widget_show (label12); |
641 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_fm), label12); | 725 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_fm), label12); |
642 | 726 |
643 cfg_sp1_frm_ft = gtk_frame_new (NULL); | 727 cfg_sp1_frm_ft = gtk_frame_new (NULL); |
728 gtk_widget_set_name (cfg_sp1_frm_ft, "cfg_sp1_frm_ft"); | |
644 gtk_widget_show (cfg_sp1_frm_ft); | 729 gtk_widget_show (cfg_sp1_frm_ft); |
645 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_ft, TRUE, TRUE, 0); | 730 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), cfg_sp1_frm_ft, TRUE, TRUE, 0); |
646 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_ft), 2); | 731 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp1_frm_ft), 2); |
647 | 732 |
648 cfg_sp1_filter_ft = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 1, 0.01, 0.1, 0))); | 733 cfg_sp1_filter_ft = gtk_vscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 1, 0.01, 0.1, 0))); |
734 gtk_widget_set_name (cfg_sp1_filter_ft, "cfg_sp1_filter_ft"); | |
649 gtk_widget_show (cfg_sp1_filter_ft); | 735 gtk_widget_show (cfg_sp1_filter_ft); |
650 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_ft), cfg_sp1_filter_ft); | 736 gtk_container_add (GTK_CONTAINER (cfg_sp1_frm_ft), cfg_sp1_filter_ft); |
651 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_ft), 2); | 737 gtk_scale_set_digits (GTK_SCALE (cfg_sp1_filter_ft), 2); |
652 | 738 |
653 label13 = gtk_label_new (_("FT")); | 739 label13 = gtk_label_new (_("FT")); |
740 gtk_widget_set_name (label13, "label13"); | |
654 gtk_widget_show (label13); | 741 gtk_widget_show (label13); |
655 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_ft), label13); | 742 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp1_frm_ft), label13); |
656 | 743 |
657 w_vbox17 = gtk_vbox_new (FALSE, 8); | 744 w_vbox17 = gtk_vbox_new (FALSE, 8); |
745 gtk_widget_set_name (w_vbox17, "w_vbox17"); | |
658 gtk_widget_show (w_vbox17); | 746 gtk_widget_show (w_vbox17); |
659 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), w_vbox17, TRUE, TRUE, 0); | 747 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay1), w_vbox17, TRUE, TRUE, 0); |
660 gtk_container_set_border_width (GTK_CONTAINER (w_vbox17), 4); | 748 gtk_container_set_border_width (GTK_CONTAINER (w_vbox17), 4); |
661 | 749 |
662 cfg_sp1_filter_reset = gtk_button_new_with_mnemonic (_("Reset values")); | 750 cfg_sp1_filter_reset = gtk_button_new_with_mnemonic (_("Reset values")); |
751 gtk_widget_set_name (cfg_sp1_filter_reset, "cfg_sp1_filter_reset"); | |
663 gtk_widget_show (cfg_sp1_filter_reset); | 752 gtk_widget_show (cfg_sp1_filter_reset); |
664 gtk_box_pack_start (GTK_BOX (w_vbox17), cfg_sp1_filter_reset, FALSE, FALSE, 0); | 753 gtk_box_pack_start (GTK_BOX (w_vbox17), cfg_sp1_filter_reset, FALSE, FALSE, 0); |
665 | 754 |
666 w_label55 = gtk_label_new (_("SIDPlay1")); | 755 w_label55 = gtk_label_new (_("SIDPlay1")); |
756 gtk_widget_set_name (w_label55, "w_label55"); | |
667 gtk_widget_show (w_label55); | 757 gtk_widget_show (w_label55); |
668 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_filters_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_filters_notebook), 0), w_label55); | 758 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_filters_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_filters_notebook), 0), w_label55); |
669 gtk_label_set_justify (GTK_LABEL (w_label55), GTK_JUSTIFY_CENTER); | 759 gtk_label_set_justify (GTK_LABEL (w_label55), GTK_JUSTIFY_CENTER); |
670 | 760 |
671 cfg_box_filter_sidplay2 = gtk_vbox_new (FALSE, 0); | 761 cfg_box_filter_sidplay2 = gtk_vbox_new (FALSE, 0); |
762 gtk_widget_set_name (cfg_box_filter_sidplay2, "cfg_box_filter_sidplay2"); | |
672 gtk_widget_show (cfg_box_filter_sidplay2); | 763 gtk_widget_show (cfg_box_filter_sidplay2); |
673 gtk_container_add (GTK_CONTAINER (cfg_filters_notebook), cfg_box_filter_sidplay2); | 764 gtk_container_add (GTK_CONTAINER (cfg_filters_notebook), cfg_box_filter_sidplay2); |
674 | 765 |
675 cfg_sp_filter_controlbox = gtk_hbox_new (FALSE, 0); | 766 cfg_sp_filter_controlbox = gtk_hbox_new (FALSE, 0); |
767 gtk_widget_set_name (cfg_sp_filter_controlbox, "cfg_sp_filter_controlbox"); | |
676 gtk_widget_show (cfg_sp_filter_controlbox); | 768 gtk_widget_show (cfg_sp_filter_controlbox); |
677 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay2), cfg_sp_filter_controlbox, FALSE, FALSE, 0); | 769 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay2), cfg_sp_filter_controlbox, FALSE, FALSE, 0); |
678 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp_filter_controlbox), 2); | 770 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp_filter_controlbox), 2); |
679 | 771 |
680 cfg_sp2_filter_combo = gtk_combo_new (); | 772 cfg_sp2_filter_combo = gtk_combo_new (); |
681 g_object_set_data (G_OBJECT (GTK_COMBO (cfg_sp2_filter_combo)->popwin), | 773 g_object_set_data (G_OBJECT (GTK_COMBO (cfg_sp2_filter_combo)->popwin), |
682 "GladeParentKey", cfg_sp2_filter_combo); | 774 "GladeParentKey", cfg_sp2_filter_combo); |
775 gtk_widget_set_name (cfg_sp2_filter_combo, "cfg_sp2_filter_combo"); | |
683 gtk_widget_show (cfg_sp2_filter_combo); | 776 gtk_widget_show (cfg_sp2_filter_combo); |
684 gtk_box_pack_start (GTK_BOX (cfg_sp_filter_controlbox), cfg_sp2_filter_combo, TRUE, TRUE, 0); | 777 gtk_box_pack_start (GTK_BOX (cfg_sp_filter_controlbox), cfg_sp2_filter_combo, TRUE, TRUE, 0); |
685 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp2_filter_combo), 2); | 778 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp2_filter_combo), 2); |
686 cfg_sp2_filter_combo_items = g_list_append (cfg_sp2_filter_combo_items, (gpointer) ""); | 779 cfg_sp2_filter_combo_items = g_list_append (cfg_sp2_filter_combo_items, (gpointer) ""); |
687 gtk_combo_set_popdown_strings (GTK_COMBO (cfg_sp2_filter_combo), cfg_sp2_filter_combo_items); | 780 gtk_combo_set_popdown_strings (GTK_COMBO (cfg_sp2_filter_combo), cfg_sp2_filter_combo_items); |
688 g_list_free (cfg_sp2_filter_combo_items); | 781 g_list_free (cfg_sp2_filter_combo_items); |
689 | 782 |
690 cfg_sp2_filter_combo_entry = GTK_COMBO (cfg_sp2_filter_combo)->entry; | 783 cfg_sp2_filter_combo_entry = GTK_COMBO (cfg_sp2_filter_combo)->entry; |
784 gtk_widget_set_name (cfg_sp2_filter_combo_entry, "cfg_sp2_filter_combo_entry"); | |
691 gtk_widget_show (cfg_sp2_filter_combo_entry); | 785 gtk_widget_show (cfg_sp2_filter_combo_entry); |
692 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_sp2_filter_combo_entry), 9679); | 786 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_sp2_filter_combo_entry), 9679); |
693 | 787 |
694 table3 = gtk_table_new (2, 3, TRUE); | 788 table3 = gtk_table_new (2, 3, TRUE); |
789 gtk_widget_set_name (table3, "table3"); | |
695 gtk_widget_show (table3); | 790 gtk_widget_show (table3); |
696 gtk_box_pack_start (GTK_BOX (cfg_sp_filter_controlbox), table3, FALSE, TRUE, 0); | 791 gtk_box_pack_start (GTK_BOX (cfg_sp_filter_controlbox), table3, FALSE, TRUE, 0); |
697 gtk_container_set_border_width (GTK_CONTAINER (table3), 2); | 792 gtk_container_set_border_width (GTK_CONTAINER (table3), 2); |
698 gtk_table_set_row_spacings (GTK_TABLE (table3), 4); | 793 gtk_table_set_row_spacings (GTK_TABLE (table3), 4); |
699 gtk_table_set_col_spacings (GTK_TABLE (table3), 4); | 794 gtk_table_set_col_spacings (GTK_TABLE (table3), 4); |
700 | 795 |
701 cfg_sp2_filter_export = gtk_button_new_with_mnemonic (_("Export")); | 796 cfg_sp2_filter_export = gtk_button_new_with_mnemonic (_("Export")); |
797 gtk_widget_set_name (cfg_sp2_filter_export, "cfg_sp2_filter_export"); | |
702 gtk_widget_show (cfg_sp2_filter_export); | 798 gtk_widget_show (cfg_sp2_filter_export); |
703 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_export, 2, 3, 1, 2, | 799 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_export, 2, 3, 1, 2, |
704 (GtkAttachOptions) (GTK_FILL), | 800 (GtkAttachOptions) (GTK_FILL), |
705 (GtkAttachOptions) (0), 0, 0); | 801 (GtkAttachOptions) (0), 0, 0); |
706 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_export, GTK_CAN_DEFAULT); | 802 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_export, GTK_CAN_DEFAULT); |
707 | 803 |
708 cfg_sp2_filter_load = gtk_button_new_with_mnemonic (_("Use")); | 804 cfg_sp2_filter_load = gtk_button_new_with_mnemonic (_("Use")); |
805 gtk_widget_set_name (cfg_sp2_filter_load, "cfg_sp2_filter_load"); | |
709 gtk_widget_show (cfg_sp2_filter_load); | 806 gtk_widget_show (cfg_sp2_filter_load); |
710 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_load, 0, 1, 0, 1, | 807 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_load, 0, 1, 0, 1, |
711 (GtkAttachOptions) (GTK_FILL), | 808 (GtkAttachOptions) (GTK_FILL), |
712 (GtkAttachOptions) (0), 0, 0); | 809 (GtkAttachOptions) (0), 0, 0); |
713 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_load, GTK_CAN_DEFAULT); | 810 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_load, GTK_CAN_DEFAULT); |
714 | 811 |
715 cfg_sp2_filter_save = gtk_button_new_with_mnemonic (_("Save")); | 812 cfg_sp2_filter_save = gtk_button_new_with_mnemonic (_("Save")); |
813 gtk_widget_set_name (cfg_sp2_filter_save, "cfg_sp2_filter_save"); | |
716 gtk_widget_show (cfg_sp2_filter_save); | 814 gtk_widget_show (cfg_sp2_filter_save); |
717 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_save, 1, 2, 0, 1, | 815 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_save, 1, 2, 0, 1, |
718 (GtkAttachOptions) (GTK_FILL), | 816 (GtkAttachOptions) (GTK_FILL), |
719 (GtkAttachOptions) (0), 0, 0); | 817 (GtkAttachOptions) (0), 0, 0); |
720 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_save, GTK_CAN_DEFAULT); | 818 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_save, GTK_CAN_DEFAULT); |
721 | 819 |
722 cfg_sp2_filter_import = gtk_button_new_with_mnemonic (_("Import")); | 820 cfg_sp2_filter_import = gtk_button_new_with_mnemonic (_("Import")); |
821 gtk_widget_set_name (cfg_sp2_filter_import, "cfg_sp2_filter_import"); | |
723 gtk_widget_show (cfg_sp2_filter_import); | 822 gtk_widget_show (cfg_sp2_filter_import); |
724 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_import, 1, 2, 1, 2, | 823 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_import, 1, 2, 1, 2, |
725 (GtkAttachOptions) (GTK_FILL), | 824 (GtkAttachOptions) (GTK_FILL), |
726 (GtkAttachOptions) (0), 0, 0); | 825 (GtkAttachOptions) (0), 0, 0); |
727 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_import, GTK_CAN_DEFAULT); | 826 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_import, GTK_CAN_DEFAULT); |
728 | 827 |
729 cfg_sp2_filter_delete = gtk_button_new_with_mnemonic (_("Delete")); | 828 cfg_sp2_filter_delete = gtk_button_new_with_mnemonic (_("Delete")); |
829 gtk_widget_set_name (cfg_sp2_filter_delete, "cfg_sp2_filter_delete"); | |
730 gtk_widget_show (cfg_sp2_filter_delete); | 830 gtk_widget_show (cfg_sp2_filter_delete); |
731 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_delete, 2, 3, 0, 1, | 831 gtk_table_attach (GTK_TABLE (table3), cfg_sp2_filter_delete, 2, 3, 0, 1, |
732 (GtkAttachOptions) (GTK_FILL), | 832 (GtkAttachOptions) (GTK_FILL), |
733 (GtkAttachOptions) (0), 0, 0); | 833 (GtkAttachOptions) (0), 0, 0); |
734 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_delete, GTK_CAN_DEFAULT); | 834 GTK_WIDGET_SET_FLAGS (cfg_sp2_filter_delete, GTK_CAN_DEFAULT); |
735 | 835 |
736 cfg_sp2_filter_frame = gtk_frame_new (NULL); | 836 cfg_sp2_filter_frame = gtk_frame_new (NULL); |
837 gtk_widget_set_name (cfg_sp2_filter_frame, "cfg_sp2_filter_frame"); | |
737 gtk_widget_show (cfg_sp2_filter_frame); | 838 gtk_widget_show (cfg_sp2_filter_frame); |
738 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay2), cfg_sp2_filter_frame, TRUE, TRUE, 0); | 839 gtk_box_pack_start (GTK_BOX (cfg_box_filter_sidplay2), cfg_sp2_filter_frame, TRUE, TRUE, 0); |
739 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp2_filter_frame), 2); | 840 gtk_container_set_border_width (GTK_CONTAINER (cfg_sp2_filter_frame), 2); |
740 | 841 |
741 label14 = gtk_label_new (_("Filter curve:")); | 842 label14 = gtk_label_new (_("Filter curve:")); |
843 gtk_widget_set_name (label14, "label14"); | |
742 gtk_widget_show (label14); | 844 gtk_widget_show (label14); |
743 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp2_filter_frame), label14); | 845 gtk_frame_set_label_widget (GTK_FRAME (cfg_sp2_filter_frame), label14); |
744 | 846 |
745 w_label56 = gtk_label_new (_("SIDPlay2")); | 847 w_label56 = gtk_label_new (_("SIDPlay2")); |
848 gtk_widget_set_name (w_label56, "w_label56"); | |
746 gtk_widget_show (w_label56); | 849 gtk_widget_show (w_label56); |
747 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_filters_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_filters_notebook), 1), w_label56); | 850 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_filters_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_filters_notebook), 1), w_label56); |
748 gtk_label_set_justify (GTK_LABEL (w_label56), GTK_JUSTIFY_CENTER); | 851 gtk_label_set_justify (GTK_LABEL (w_label56), GTK_JUSTIFY_CENTER); |
749 | 852 |
750 w_label24 = gtk_label_new (_("Filters")); | 853 w_label24 = gtk_label_new (_("Filters")); |
854 gtk_widget_set_name (w_label24, "w_label24"); | |
751 gtk_widget_show (w_label24); | 855 gtk_widget_show (w_label24); |
752 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 3), w_label24); | 856 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 3), w_label24); |
753 gtk_label_set_justify (GTK_LABEL (w_label24), GTK_JUSTIFY_CENTER); | 857 gtk_label_set_justify (GTK_LABEL (w_label24), GTK_JUSTIFY_CENTER); |
754 | 858 |
755 w_vbox20 = gtk_vbox_new (FALSE, 0); | 859 w_vbox20 = gtk_vbox_new (FALSE, 0); |
860 gtk_widget_set_name (w_vbox20, "w_vbox20"); | |
756 gtk_widget_show (w_vbox20); | 861 gtk_widget_show (w_vbox20); |
757 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox20); | 862 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox20); |
758 | 863 |
759 w_frame29 = gtk_frame_new (NULL); | 864 w_frame29 = gtk_frame_new (NULL); |
865 gtk_widget_set_name (w_frame29, "w_frame29"); | |
760 gtk_widget_show (w_frame29); | 866 gtk_widget_show (w_frame29); |
761 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame29, FALSE, FALSE, 0); | 867 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame29, FALSE, FALSE, 0); |
762 gtk_container_set_border_width (GTK_CONTAINER (w_frame29), 4); | 868 gtk_container_set_border_width (GTK_CONTAINER (w_frame29), 4); |
763 | 869 |
764 w_vbox32 = gtk_vbox_new (FALSE, 2); | 870 w_vbox32 = gtk_vbox_new (FALSE, 2); |
871 gtk_widget_set_name (w_vbox32, "w_vbox32"); | |
765 gtk_widget_show (w_vbox32); | 872 gtk_widget_show (w_vbox32); |
766 gtk_container_add (GTK_CONTAINER (w_frame29), w_vbox32); | 873 gtk_container_add (GTK_CONTAINER (w_frame29), w_vbox32); |
767 gtk_container_set_border_width (GTK_CONTAINER (w_vbox32), 2); | 874 gtk_container_set_border_width (GTK_CONTAINER (w_vbox32), 2); |
768 | 875 |
769 cfg_mintime_enable = gtk_check_button_new_with_mnemonic (_("Play at least for specified time")); | 876 cfg_mintime_enable = gtk_check_button_new_with_mnemonic (_("Play at least for specified time")); |
877 gtk_widget_set_name (cfg_mintime_enable, "cfg_mintime_enable"); | |
770 gtk_widget_show (cfg_mintime_enable); | 878 gtk_widget_show (cfg_mintime_enable); |
771 gtk_box_pack_start (GTK_BOX (w_vbox32), cfg_mintime_enable, FALSE, FALSE, 0); | 879 gtk_box_pack_start (GTK_BOX (w_vbox32), cfg_mintime_enable, FALSE, FALSE, 0); |
772 gtk_tooltips_set_tip (tooltips, cfg_mintime_enable, _("If enabled, the tune is played at least for the specified time, adding silence to the end if necessary."), NULL); | 880 gtk_tooltips_set_tip (tooltips, cfg_mintime_enable, _("If enabled, the tune is played at least for the specified time, adding silence to the end if necessary."), NULL); |
773 | 881 |
774 cfg_mintime_box = gtk_hbox_new (FALSE, 2); | 882 cfg_mintime_box = gtk_hbox_new (FALSE, 2); |
883 gtk_widget_set_name (cfg_mintime_box, "cfg_mintime_box"); | |
775 gtk_widget_show (cfg_mintime_box); | 884 gtk_widget_show (cfg_mintime_box); |
776 gtk_box_pack_start (GTK_BOX (w_vbox32), cfg_mintime_box, FALSE, TRUE, 2); | 885 gtk_box_pack_start (GTK_BOX (w_vbox32), cfg_mintime_box, FALSE, TRUE, 2); |
777 | 886 |
778 cfg_mintime_label1 = gtk_label_new (_("Playtime:")); | 887 cfg_mintime_label1 = gtk_label_new (_("Playtime:")); |
888 gtk_widget_set_name (cfg_mintime_label1, "cfg_mintime_label1"); | |
779 gtk_widget_show (cfg_mintime_label1); | 889 gtk_widget_show (cfg_mintime_label1); |
780 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime_label1, FALSE, FALSE, 0); | 890 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime_label1, FALSE, FALSE, 0); |
781 gtk_label_set_justify (GTK_LABEL (cfg_mintime_label1), GTK_JUSTIFY_CENTER); | 891 gtk_label_set_justify (GTK_LABEL (cfg_mintime_label1), GTK_JUSTIFY_CENTER); |
782 gtk_misc_set_alignment (GTK_MISC (cfg_mintime_label1), 0, 0.5); | 892 gtk_misc_set_alignment (GTK_MISC (cfg_mintime_label1), 0, 0.5); |
783 | 893 |
784 cfg_mintime_adj = gtk_adjustment_new (15, 1, 32767, 1, 60, 60); | 894 cfg_mintime_adj = gtk_adjustment_new (15, 1, 32767, 1, 60, 60); |
785 cfg_mintime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_mintime_adj), 1, 0); | 895 cfg_mintime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_mintime_adj), 1, 0); |
896 gtk_widget_set_name (cfg_mintime, "cfg_mintime"); | |
786 gtk_widget_show (cfg_mintime); | 897 gtk_widget_show (cfg_mintime); |
787 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime, FALSE, TRUE, 0); | 898 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime, FALSE, TRUE, 0); |
788 | 899 |
789 cfg_mintime_label2 = gtk_label_new (_("seconds")); | 900 cfg_mintime_label2 = gtk_label_new (_("seconds")); |
901 gtk_widget_set_name (cfg_mintime_label2, "cfg_mintime_label2"); | |
790 gtk_widget_show (cfg_mintime_label2); | 902 gtk_widget_show (cfg_mintime_label2); |
791 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime_label2, FALSE, FALSE, 0); | 903 gtk_box_pack_start (GTK_BOX (cfg_mintime_box), cfg_mintime_label2, FALSE, FALSE, 0); |
792 gtk_label_set_justify (GTK_LABEL (cfg_mintime_label2), GTK_JUSTIFY_CENTER); | 904 gtk_label_set_justify (GTK_LABEL (cfg_mintime_label2), GTK_JUSTIFY_CENTER); |
793 gtk_misc_set_alignment (GTK_MISC (cfg_mintime_label2), 0, 0.5); | 905 gtk_misc_set_alignment (GTK_MISC (cfg_mintime_label2), 0, 0.5); |
794 | 906 |
795 label15 = gtk_label_new (_("Minimum playtime:")); | 907 label15 = gtk_label_new (_("Minimum playtime:")); |
908 gtk_widget_set_name (label15, "label15"); | |
796 gtk_widget_show (label15); | 909 gtk_widget_show (label15); |
797 gtk_frame_set_label_widget (GTK_FRAME (w_frame29), label15); | 910 gtk_frame_set_label_widget (GTK_FRAME (w_frame29), label15); |
798 | 911 |
799 w_frame21 = gtk_frame_new (NULL); | 912 w_frame21 = gtk_frame_new (NULL); |
913 gtk_widget_set_name (w_frame21, "w_frame21"); | |
800 gtk_widget_show (w_frame21); | 914 gtk_widget_show (w_frame21); |
801 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame21, FALSE, TRUE, 0); | 915 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame21, FALSE, TRUE, 0); |
802 gtk_container_set_border_width (GTK_CONTAINER (w_frame21), 4); | 916 gtk_container_set_border_width (GTK_CONTAINER (w_frame21), 4); |
803 | 917 |
804 w_vbox21 = gtk_vbox_new (FALSE, 2); | 918 w_vbox21 = gtk_vbox_new (FALSE, 2); |
919 gtk_widget_set_name (w_vbox21, "w_vbox21"); | |
805 gtk_widget_show (w_vbox21); | 920 gtk_widget_show (w_vbox21); |
806 gtk_container_add (GTK_CONTAINER (w_frame21), w_vbox21); | 921 gtk_container_add (GTK_CONTAINER (w_frame21), w_vbox21); |
807 gtk_container_set_border_width (GTK_CONTAINER (w_vbox21), 2); | 922 gtk_container_set_border_width (GTK_CONTAINER (w_vbox21), 2); |
808 | 923 |
809 cfg_maxtime_enable = gtk_check_button_new_with_mnemonic (_("Play for specified time maximum")); | 924 cfg_maxtime_enable = gtk_check_button_new_with_mnemonic (_("Play for specified time maximum")); |
925 gtk_widget_set_name (cfg_maxtime_enable, "cfg_maxtime_enable"); | |
810 gtk_widget_show (cfg_maxtime_enable); | 926 gtk_widget_show (cfg_maxtime_enable); |
811 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_enable, FALSE, FALSE, 0); | 927 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_enable, FALSE, FALSE, 0); |
812 gtk_tooltips_set_tip (tooltips, cfg_maxtime_enable, _("If enabled, tune is played until specified duration is reached (aka maximum playtime)."), NULL); | 928 gtk_tooltips_set_tip (tooltips, cfg_maxtime_enable, _("If enabled, tune is played until specified duration is reached (aka maximum playtime)."), NULL); |
813 | 929 |
814 cfg_maxtime_unknown = gtk_check_button_new_with_mnemonic (_("Only when song length is unknown")); | 930 cfg_maxtime_unknown = gtk_check_button_new_with_mnemonic (_("Only when song length is unknown")); |
931 gtk_widget_set_name (cfg_maxtime_unknown, "cfg_maxtime_unknown"); | |
815 gtk_widget_show (cfg_maxtime_unknown); | 932 gtk_widget_show (cfg_maxtime_unknown); |
816 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_unknown, FALSE, FALSE, 0); | 933 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_unknown, FALSE, FALSE, 0); |
817 gtk_tooltips_set_tip (tooltips, cfg_maxtime_unknown, _("If enabled, the maximum playtime is applied only if song/tune length is not known."), NULL); | 934 gtk_tooltips_set_tip (tooltips, cfg_maxtime_unknown, _("If enabled, the maximum playtime is applied only if song/tune length is not known."), NULL); |
818 | 935 |
819 cfg_maxtime_box = gtk_hbox_new (FALSE, 2); | 936 cfg_maxtime_box = gtk_hbox_new (FALSE, 2); |
937 gtk_widget_set_name (cfg_maxtime_box, "cfg_maxtime_box"); | |
820 gtk_widget_show (cfg_maxtime_box); | 938 gtk_widget_show (cfg_maxtime_box); |
821 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_box, FALSE, TRUE, 2); | 939 gtk_box_pack_start (GTK_BOX (w_vbox21), cfg_maxtime_box, FALSE, TRUE, 2); |
822 | 940 |
823 cfg_maxtime_label1 = gtk_label_new (_("Playtime:")); | 941 cfg_maxtime_label1 = gtk_label_new (_("Playtime:")); |
942 gtk_widget_set_name (cfg_maxtime_label1, "cfg_maxtime_label1"); | |
824 gtk_widget_show (cfg_maxtime_label1); | 943 gtk_widget_show (cfg_maxtime_label1); |
825 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime_label1, FALSE, FALSE, 0); | 944 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime_label1, FALSE, FALSE, 0); |
826 gtk_label_set_justify (GTK_LABEL (cfg_maxtime_label1), GTK_JUSTIFY_CENTER); | 945 gtk_label_set_justify (GTK_LABEL (cfg_maxtime_label1), GTK_JUSTIFY_CENTER); |
827 gtk_misc_set_alignment (GTK_MISC (cfg_maxtime_label1), 0, 0.5); | 946 gtk_misc_set_alignment (GTK_MISC (cfg_maxtime_label1), 0, 0.5); |
828 | 947 |
829 cfg_maxtime_adj = gtk_adjustment_new (150, 1, 32767, 1, 60, 60); | 948 cfg_maxtime_adj = gtk_adjustment_new (150, 1, 32767, 1, 60, 60); |
830 cfg_maxtime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_maxtime_adj), 1, 0); | 949 cfg_maxtime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_maxtime_adj), 1, 0); |
950 gtk_widget_set_name (cfg_maxtime, "cfg_maxtime"); | |
831 gtk_widget_show (cfg_maxtime); | 951 gtk_widget_show (cfg_maxtime); |
832 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime, FALSE, TRUE, 0); | 952 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime, FALSE, TRUE, 0); |
833 | 953 |
834 cfg_maxtime_label2 = gtk_label_new (_("seconds")); | 954 cfg_maxtime_label2 = gtk_label_new (_("seconds")); |
955 gtk_widget_set_name (cfg_maxtime_label2, "cfg_maxtime_label2"); | |
835 gtk_widget_show (cfg_maxtime_label2); | 956 gtk_widget_show (cfg_maxtime_label2); |
836 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime_label2, FALSE, FALSE, 0); | 957 gtk_box_pack_start (GTK_BOX (cfg_maxtime_box), cfg_maxtime_label2, FALSE, FALSE, 0); |
837 gtk_label_set_justify (GTK_LABEL (cfg_maxtime_label2), GTK_JUSTIFY_CENTER); | 958 gtk_label_set_justify (GTK_LABEL (cfg_maxtime_label2), GTK_JUSTIFY_CENTER); |
838 gtk_misc_set_alignment (GTK_MISC (cfg_maxtime_label2), 0, 0.5); | 959 gtk_misc_set_alignment (GTK_MISC (cfg_maxtime_label2), 0, 0.5); |
839 | 960 |
840 label16 = gtk_label_new (_("Maximum playtime:")); | 961 label16 = gtk_label_new (_("Maximum playtime:")); |
962 gtk_widget_set_name (label16, "label16"); | |
841 gtk_widget_show (label16); | 963 gtk_widget_show (label16); |
842 gtk_frame_set_label_widget (GTK_FRAME (w_frame21), label16); | 964 gtk_frame_set_label_widget (GTK_FRAME (w_frame21), label16); |
843 | 965 |
844 w_frame18 = gtk_frame_new (NULL); | 966 w_frame18 = gtk_frame_new (NULL); |
967 gtk_widget_set_name (w_frame18, "w_frame18"); | |
845 gtk_widget_show (w_frame18); | 968 gtk_widget_show (w_frame18); |
846 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame18, FALSE, TRUE, 0); | 969 gtk_box_pack_start (GTK_BOX (w_vbox20), w_frame18, FALSE, TRUE, 0); |
847 gtk_container_set_border_width (GTK_CONTAINER (w_frame18), 4); | 970 gtk_container_set_border_width (GTK_CONTAINER (w_frame18), 4); |
848 | 971 |
849 w_vbox18 = gtk_vbox_new (FALSE, 2); | 972 w_vbox18 = gtk_vbox_new (FALSE, 2); |
973 gtk_widget_set_name (w_vbox18, "w_vbox18"); | |
850 gtk_widget_show (w_vbox18); | 974 gtk_widget_show (w_vbox18); |
851 gtk_container_add (GTK_CONTAINER (w_frame18), w_vbox18); | 975 gtk_container_add (GTK_CONTAINER (w_frame18), w_vbox18); |
852 gtk_container_set_border_width (GTK_CONTAINER (w_vbox18), 2); | 976 gtk_container_set_border_width (GTK_CONTAINER (w_vbox18), 2); |
853 | 977 |
854 cfg_sld_enable = gtk_check_button_new_with_mnemonic (_("Use XSIDPLAY-compatible database")); | 978 cfg_sld_enable = gtk_check_button_new_with_mnemonic (_("Use XSIDPLAY-compatible database")); |
979 gtk_widget_set_name (cfg_sld_enable, "cfg_sld_enable"); | |
855 gtk_widget_show (cfg_sld_enable); | 980 gtk_widget_show (cfg_sld_enable); |
856 gtk_box_pack_start (GTK_BOX (w_vbox18), cfg_sld_enable, FALSE, FALSE, 0); | 981 gtk_box_pack_start (GTK_BOX (w_vbox18), cfg_sld_enable, FALSE, FALSE, 0); |
857 gtk_tooltips_set_tip (tooltips, cfg_sld_enable, _("This option enables using of XSIDPLAY compatible song length database. (Refer to Audacious-SID documentation for more information)"), NULL); | 982 gtk_tooltips_set_tip (tooltips, cfg_sld_enable, _("This option enables using of XSIDPLAY compatible song length database. (Refer to Audacious-SID documentation for more information)"), NULL); |
858 | 983 |
859 cfg_sld_box = gtk_hbox_new (FALSE, 4); | 984 cfg_sld_box = gtk_hbox_new (FALSE, 4); |
985 gtk_widget_set_name (cfg_sld_box, "cfg_sld_box"); | |
860 gtk_widget_show (cfg_sld_box); | 986 gtk_widget_show (cfg_sld_box); |
861 gtk_box_pack_start (GTK_BOX (w_vbox18), cfg_sld_box, FALSE, TRUE, 0); | 987 gtk_box_pack_start (GTK_BOX (w_vbox18), cfg_sld_box, FALSE, TRUE, 0); |
862 | 988 |
863 cfg_sld_label1 = gtk_label_new (_("DB-file:")); | 989 cfg_sld_label1 = gtk_label_new (_("DB-file:")); |
990 gtk_widget_set_name (cfg_sld_label1, "cfg_sld_label1"); | |
864 gtk_widget_show (cfg_sld_label1); | 991 gtk_widget_show (cfg_sld_label1); |
865 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_label1, FALSE, TRUE, 0); | 992 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_label1, FALSE, TRUE, 0); |
866 gtk_label_set_justify (GTK_LABEL (cfg_sld_label1), GTK_JUSTIFY_CENTER); | 993 gtk_label_set_justify (GTK_LABEL (cfg_sld_label1), GTK_JUSTIFY_CENTER); |
867 | 994 |
868 cfg_sld_dbpath = gtk_entry_new (); | 995 cfg_sld_dbpath = gtk_entry_new (); |
996 gtk_widget_set_name (cfg_sld_dbpath, "cfg_sld_dbpath"); | |
869 gtk_widget_show (cfg_sld_dbpath); | 997 gtk_widget_show (cfg_sld_dbpath); |
870 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_dbpath, TRUE, TRUE, 0); | 998 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_dbpath, TRUE, TRUE, 0); |
871 gtk_tooltips_set_tip (tooltips, cfg_sld_dbpath, _("Database path and filename"), NULL); | 999 gtk_tooltips_set_tip (tooltips, cfg_sld_dbpath, _("Database path and filename"), NULL); |
872 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_sld_dbpath), 9679); | 1000 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_sld_dbpath), 9679); |
873 | 1001 |
874 cfg_sld_dbbrowse = gtk_button_new_with_mnemonic (_("Browse")); | 1002 cfg_sld_dbbrowse = gtk_button_new_with_mnemonic (_("Browse")); |
1003 gtk_widget_set_name (cfg_sld_dbbrowse, "cfg_sld_dbbrowse"); | |
875 gtk_widget_show (cfg_sld_dbbrowse); | 1004 gtk_widget_show (cfg_sld_dbbrowse); |
876 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_dbbrowse, FALSE, FALSE, 0); | 1005 gtk_box_pack_start (GTK_BOX (cfg_sld_box), cfg_sld_dbbrowse, FALSE, FALSE, 0); |
877 gtk_tooltips_set_tip (tooltips, cfg_sld_dbbrowse, _("Browse for song length-database file"), NULL); | 1006 gtk_tooltips_set_tip (tooltips, cfg_sld_dbbrowse, _("Browse for song length-database file"), NULL); |
878 | 1007 |
879 label17 = gtk_label_new (_("Song length database:")); | 1008 label17 = gtk_label_new (_("Song length database:")); |
1009 gtk_widget_set_name (label17, "label17"); | |
880 gtk_widget_show (label17); | 1010 gtk_widget_show (label17); |
881 gtk_frame_set_label_widget (GTK_FRAME (w_frame18), label17); | 1011 gtk_frame_set_label_widget (GTK_FRAME (w_frame18), label17); |
882 | 1012 |
883 w_label26 = gtk_label_new (_("Songlength")); | 1013 w_label26 = gtk_label_new (_("Songlength")); |
1014 gtk_widget_set_name (w_label26, "w_label26"); | |
884 gtk_widget_show (w_label26); | 1015 gtk_widget_show (w_label26); |
885 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 4), w_label26); | 1016 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 4), w_label26); |
886 gtk_label_set_justify (GTK_LABEL (w_label26), GTK_JUSTIFY_CENTER); | 1017 gtk_label_set_justify (GTK_LABEL (w_label26), GTK_JUSTIFY_CENTER); |
887 | 1018 |
888 w_vbox19 = gtk_vbox_new (FALSE, 0); | 1019 w_vbox19 = gtk_vbox_new (FALSE, 0); |
1020 gtk_widget_set_name (w_vbox19, "w_vbox19"); | |
889 gtk_widget_show (w_vbox19); | 1021 gtk_widget_show (w_vbox19); |
890 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox19); | 1022 gtk_container_add (GTK_CONTAINER (cfg_notebook), w_vbox19); |
891 | 1023 |
892 w_frame31 = gtk_frame_new (NULL); | 1024 w_frame31 = gtk_frame_new (NULL); |
1025 gtk_widget_set_name (w_frame31, "w_frame31"); | |
893 gtk_widget_show (w_frame31); | 1026 gtk_widget_show (w_frame31); |
894 gtk_box_pack_start (GTK_BOX (w_vbox19), w_frame31, FALSE, TRUE, 0); | 1027 gtk_box_pack_start (GTK_BOX (w_vbox19), w_frame31, FALSE, TRUE, 0); |
895 gtk_container_set_border_width (GTK_CONTAINER (w_frame31), 4); | 1028 gtk_container_set_border_width (GTK_CONTAINER (w_frame31), 4); |
896 | 1029 |
897 w_vbox35 = gtk_vbox_new (FALSE, 2); | 1030 w_vbox35 = gtk_vbox_new (FALSE, 2); |
1031 gtk_widget_set_name (w_vbox35, "w_vbox35"); | |
898 gtk_widget_show (w_vbox35); | 1032 gtk_widget_show (w_vbox35); |
899 gtk_container_add (GTK_CONTAINER (w_frame31), w_vbox35); | 1033 gtk_container_add (GTK_CONTAINER (w_frame31), w_vbox35); |
900 gtk_container_set_border_width (GTK_CONTAINER (w_vbox35), 2); | 1034 gtk_container_set_border_width (GTK_CONTAINER (w_vbox35), 2); |
901 | 1035 |
902 cfg_subauto_enable = gtk_check_button_new_with_mnemonic (_("Add sub-tunes to playlist")); | 1036 cfg_subauto_enable = gtk_check_button_new_with_mnemonic (_("Add sub-tunes to playlist")); |
1037 gtk_widget_set_name (cfg_subauto_enable, "cfg_subauto_enable"); | |
903 gtk_widget_show (cfg_subauto_enable); | 1038 gtk_widget_show (cfg_subauto_enable); |
904 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_enable, FALSE, FALSE, 0); | 1039 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_enable, FALSE, FALSE, 0); |
905 | 1040 |
906 cfg_subauto_min_only = gtk_check_button_new_with_mnemonic (_("Only tunes with specified minimum length ")); | 1041 cfg_subauto_min_only = gtk_check_button_new_with_mnemonic (_("Only tunes with specified minimum length ")); |
1042 gtk_widget_set_name (cfg_subauto_min_only, "cfg_subauto_min_only"); | |
907 gtk_widget_show (cfg_subauto_min_only); | 1043 gtk_widget_show (cfg_subauto_min_only); |
908 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_min_only, FALSE, FALSE, 0); | 1044 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_min_only, FALSE, FALSE, 0); |
909 | 1045 |
910 cfg_subauto_box = gtk_hbox_new (FALSE, 2); | 1046 cfg_subauto_box = gtk_hbox_new (FALSE, 2); |
1047 gtk_widget_set_name (cfg_subauto_box, "cfg_subauto_box"); | |
911 gtk_widget_show (cfg_subauto_box); | 1048 gtk_widget_show (cfg_subauto_box); |
912 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_box, TRUE, TRUE, 0); | 1049 gtk_box_pack_start (GTK_BOX (w_vbox35), cfg_subauto_box, TRUE, TRUE, 0); |
913 | 1050 |
914 w_label52 = gtk_label_new (_("Playtime:")); | 1051 w_label52 = gtk_label_new (_("Playtime:")); |
1052 gtk_widget_set_name (w_label52, "w_label52"); | |
915 gtk_widget_show (w_label52); | 1053 gtk_widget_show (w_label52); |
916 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), w_label52, FALSE, FALSE, 0); | 1054 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), w_label52, FALSE, FALSE, 0); |
917 gtk_label_set_justify (GTK_LABEL (w_label52), GTK_JUSTIFY_CENTER); | 1055 gtk_label_set_justify (GTK_LABEL (w_label52), GTK_JUSTIFY_CENTER); |
918 gtk_misc_set_alignment (GTK_MISC (w_label52), 0, 0.5); | 1056 gtk_misc_set_alignment (GTK_MISC (w_label52), 0, 0.5); |
919 | 1057 |
920 cfg_subauto_mintime_adj = gtk_adjustment_new (15, 1, 32767, 1, 60, 60); | 1058 cfg_subauto_mintime_adj = gtk_adjustment_new (15, 1, 32767, 1, 60, 60); |
921 cfg_subauto_mintime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_subauto_mintime_adj), 1, 0); | 1059 cfg_subauto_mintime = gtk_spin_button_new (GTK_ADJUSTMENT (cfg_subauto_mintime_adj), 1, 0); |
1060 gtk_widget_set_name (cfg_subauto_mintime, "cfg_subauto_mintime"); | |
922 gtk_widget_show (cfg_subauto_mintime); | 1061 gtk_widget_show (cfg_subauto_mintime); |
923 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), cfg_subauto_mintime, FALSE, TRUE, 0); | 1062 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), cfg_subauto_mintime, FALSE, TRUE, 0); |
924 | 1063 |
925 w_label53 = gtk_label_new (_("seconds")); | 1064 w_label53 = gtk_label_new (_("seconds")); |
1065 gtk_widget_set_name (w_label53, "w_label53"); | |
926 gtk_widget_show (w_label53); | 1066 gtk_widget_show (w_label53); |
927 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), w_label53, FALSE, FALSE, 0); | 1067 gtk_box_pack_start (GTK_BOX (cfg_subauto_box), w_label53, FALSE, FALSE, 0); |
928 gtk_label_set_justify (GTK_LABEL (w_label53), GTK_JUSTIFY_CENTER); | 1068 gtk_label_set_justify (GTK_LABEL (w_label53), GTK_JUSTIFY_CENTER); |
929 gtk_misc_set_alignment (GTK_MISC (w_label53), 0, 0.5); | 1069 gtk_misc_set_alignment (GTK_MISC (w_label53), 0, 0.5); |
930 | 1070 |
931 label21 = gtk_label_new (_("Sub-tune handling:")); | 1071 label21 = gtk_label_new (_("Sub-tune handling:")); |
1072 gtk_widget_set_name (label21, "label21"); | |
932 gtk_widget_show (label21); | 1073 gtk_widget_show (label21); |
933 gtk_frame_set_label_widget (GTK_FRAME (w_frame31), label21); | 1074 gtk_frame_set_label_widget (GTK_FRAME (w_frame31), label21); |
934 | 1075 |
935 w_frame7 = gtk_frame_new (NULL); | 1076 w_frame7 = gtk_frame_new (NULL); |
1077 gtk_widget_set_name (w_frame7, "w_frame7"); | |
936 gtk_widget_show (w_frame7); | 1078 gtk_widget_show (w_frame7); |
937 gtk_box_pack_start (GTK_BOX (w_vbox19), w_frame7, FALSE, FALSE, 0); | 1079 gtk_box_pack_start (GTK_BOX (w_vbox19), w_frame7, FALSE, FALSE, 0); |
938 gtk_container_set_border_width (GTK_CONTAINER (w_frame7), 4); | 1080 gtk_container_set_border_width (GTK_CONTAINER (w_frame7), 4); |
939 | 1081 |
940 w_vbox8 = gtk_vbox_new (FALSE, 2); | 1082 w_vbox8 = gtk_vbox_new (FALSE, 2); |
1083 gtk_widget_set_name (w_vbox8, "w_vbox8"); | |
941 gtk_widget_show (w_vbox8); | 1084 gtk_widget_show (w_vbox8); |
942 gtk_container_add (GTK_CONTAINER (w_frame7), w_vbox8); | 1085 gtk_container_add (GTK_CONTAINER (w_frame7), w_vbox8); |
943 gtk_container_set_border_width (GTK_CONTAINER (w_vbox8), 2); | 1086 gtk_container_set_border_width (GTK_CONTAINER (w_vbox8), 2); |
944 | 1087 |
945 cfg_stil_enable = gtk_check_button_new_with_mnemonic (_("Use STIL database")); | 1088 cfg_stil_enable = gtk_check_button_new_with_mnemonic (_("Use STIL database")); |
1089 gtk_widget_set_name (cfg_stil_enable, "cfg_stil_enable"); | |
946 gtk_widget_show (cfg_stil_enable); | 1090 gtk_widget_show (cfg_stil_enable); |
947 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_enable, TRUE, FALSE, 0); | 1091 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_enable, TRUE, FALSE, 0); |
948 gtk_tooltips_set_tip (tooltips, cfg_stil_enable, _("If this option is enabled (and the database & HVSC settings below are correctly set), Audacious-SID will use and display additional information from STIL database when HVSC SIDs are played."), NULL); | 1092 gtk_tooltips_set_tip (tooltips, cfg_stil_enable, _("If this option is enabled (and the database & HVSC settings below are correctly set), Audacious-SID will use and display additional information from STIL database when HVSC SIDs are played."), NULL); |
949 | 1093 |
950 cfg_stil_box1 = gtk_hbox_new (FALSE, 0); | 1094 cfg_stil_box1 = gtk_hbox_new (FALSE, 0); |
1095 gtk_widget_set_name (cfg_stil_box1, "cfg_stil_box1"); | |
951 gtk_widget_show (cfg_stil_box1); | 1096 gtk_widget_show (cfg_stil_box1); |
952 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_box1, TRUE, TRUE, 0); | 1097 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_box1, TRUE, TRUE, 0); |
953 | 1098 |
954 cfg_stil_label1 = gtk_label_new (_("STIL file:")); | 1099 cfg_stil_label1 = gtk_label_new (_("STIL file:")); |
1100 gtk_widget_set_name (cfg_stil_label1, "cfg_stil_label1"); | |
955 gtk_widget_show (cfg_stil_label1); | 1101 gtk_widget_show (cfg_stil_label1); |
956 gtk_box_pack_start (GTK_BOX (cfg_stil_box1), cfg_stil_label1, FALSE, FALSE, 0); | 1102 gtk_box_pack_start (GTK_BOX (cfg_stil_box1), cfg_stil_label1, FALSE, FALSE, 0); |
957 gtk_label_set_justify (GTK_LABEL (cfg_stil_label1), GTK_JUSTIFY_CENTER); | 1103 gtk_label_set_justify (GTK_LABEL (cfg_stil_label1), GTK_JUSTIFY_CENTER); |
958 gtk_misc_set_padding (GTK_MISC (cfg_stil_label1), 4, 0); | 1104 gtk_misc_set_padding (GTK_MISC (cfg_stil_label1), 4, 0); |
959 | 1105 |
960 w_alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1); | 1106 w_alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1); |
1107 gtk_widget_set_name (w_alignment2, "w_alignment2"); | |
961 gtk_widget_show (w_alignment2); | 1108 gtk_widget_show (w_alignment2); |
962 gtk_box_pack_start (GTK_BOX (cfg_stil_box1), w_alignment2, TRUE, TRUE, 4); | 1109 gtk_box_pack_start (GTK_BOX (cfg_stil_box1), w_alignment2, TRUE, TRUE, 4); |
963 | 1110 |
964 cfg_stil_dbpath = gtk_entry_new (); | 1111 cfg_stil_dbpath = gtk_entry_new (); |
1112 gtk_widget_set_name (cfg_stil_dbpath, "cfg_stil_dbpath"); | |
965 gtk_widget_show (cfg_stil_dbpath); | 1113 gtk_widget_show (cfg_stil_dbpath); |
966 gtk_container_add (GTK_CONTAINER (w_alignment2), cfg_stil_dbpath); | 1114 gtk_container_add (GTK_CONTAINER (w_alignment2), cfg_stil_dbpath); |
967 gtk_tooltips_set_tip (tooltips, cfg_stil_dbpath, _("Path and filename of STIL database file (STIL.txt), usually found from HVSC's DOCUMENTS-subdirectory."), NULL); | 1115 gtk_tooltips_set_tip (tooltips, cfg_stil_dbpath, _("Path and filename of STIL database file (STIL.txt), usually found from HVSC's DOCUMENTS-subdirectory."), NULL); |
968 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_stil_dbpath), 9679); | 1116 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_stil_dbpath), 9679); |
969 | 1117 |
970 w_alignment1 = gtk_alignment_new (0.5, 0.5, 1, 0.300001); | 1118 w_alignment1 = gtk_alignment_new (0.5, 0.5, 1, 0.300001); |
1119 gtk_widget_set_name (w_alignment1, "w_alignment1"); | |
971 gtk_widget_show (w_alignment1); | 1120 gtk_widget_show (w_alignment1); |
972 gtk_box_pack_end (GTK_BOX (cfg_stil_box1), w_alignment1, FALSE, FALSE, 0); | 1121 gtk_box_pack_end (GTK_BOX (cfg_stil_box1), w_alignment1, FALSE, FALSE, 0); |
973 gtk_container_set_border_width (GTK_CONTAINER (w_alignment1), 4); | 1122 gtk_container_set_border_width (GTK_CONTAINER (w_alignment1), 4); |
974 | 1123 |
975 cfg_stil_browse = gtk_button_new_with_mnemonic (_("Browse")); | 1124 cfg_stil_browse = gtk_button_new_with_mnemonic (_("Browse")); |
1125 gtk_widget_set_name (cfg_stil_browse, "cfg_stil_browse"); | |
976 gtk_widget_show (cfg_stil_browse); | 1126 gtk_widget_show (cfg_stil_browse); |
977 gtk_container_add (GTK_CONTAINER (w_alignment1), cfg_stil_browse); | 1127 gtk_container_add (GTK_CONTAINER (w_alignment1), cfg_stil_browse); |
978 gtk_tooltips_set_tip (tooltips, cfg_stil_browse, _("Browse for STIL-database file"), NULL); | 1128 gtk_tooltips_set_tip (tooltips, cfg_stil_browse, _("Browse for STIL-database file"), NULL); |
979 | 1129 |
980 cfg_stil_box2 = gtk_hbox_new (FALSE, 0); | 1130 cfg_stil_box2 = gtk_hbox_new (FALSE, 0); |
1131 gtk_widget_set_name (cfg_stil_box2, "cfg_stil_box2"); | |
981 gtk_widget_show (cfg_stil_box2); | 1132 gtk_widget_show (cfg_stil_box2); |
982 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_box2, TRUE, TRUE, 0); | 1133 gtk_box_pack_start (GTK_BOX (w_vbox8), cfg_stil_box2, TRUE, TRUE, 0); |
983 | 1134 |
984 cfg_hvsc_label1 = gtk_label_new (_("HVSC path:")); | 1135 cfg_hvsc_label1 = gtk_label_new (_("HVSC path:")); |
1136 gtk_widget_set_name (cfg_hvsc_label1, "cfg_hvsc_label1"); | |
985 gtk_widget_show (cfg_hvsc_label1); | 1137 gtk_widget_show (cfg_hvsc_label1); |
986 gtk_box_pack_start (GTK_BOX (cfg_stil_box2), cfg_hvsc_label1, FALSE, FALSE, 0); | 1138 gtk_box_pack_start (GTK_BOX (cfg_stil_box2), cfg_hvsc_label1, FALSE, FALSE, 0); |
987 gtk_label_set_justify (GTK_LABEL (cfg_hvsc_label1), GTK_JUSTIFY_CENTER); | 1139 gtk_label_set_justify (GTK_LABEL (cfg_hvsc_label1), GTK_JUSTIFY_CENTER); |
988 gtk_misc_set_padding (GTK_MISC (cfg_hvsc_label1), 4, 0); | 1140 gtk_misc_set_padding (GTK_MISC (cfg_hvsc_label1), 4, 0); |
989 | 1141 |
990 w_alignment6 = gtk_alignment_new (0.5, 0.5, 1, 1); | 1142 w_alignment6 = gtk_alignment_new (0.5, 0.5, 1, 1); |
1143 gtk_widget_set_name (w_alignment6, "w_alignment6"); | |
991 gtk_widget_show (w_alignment6); | 1144 gtk_widget_show (w_alignment6); |
992 gtk_box_pack_start (GTK_BOX (cfg_stil_box2), w_alignment6, TRUE, TRUE, 4); | 1145 gtk_box_pack_start (GTK_BOX (cfg_stil_box2), w_alignment6, TRUE, TRUE, 4); |
993 | 1146 |
994 cfg_hvsc_path = gtk_entry_new (); | 1147 cfg_hvsc_path = gtk_entry_new (); |
1148 gtk_widget_set_name (cfg_hvsc_path, "cfg_hvsc_path"); | |
995 gtk_widget_show (cfg_hvsc_path); | 1149 gtk_widget_show (cfg_hvsc_path); |
996 gtk_container_add (GTK_CONTAINER (w_alignment6), cfg_hvsc_path); | 1150 gtk_container_add (GTK_CONTAINER (w_alignment6), cfg_hvsc_path); |
997 gtk_tooltips_set_tip (tooltips, cfg_hvsc_path, _("Path to base-directory of your High Voltage SID Collection (HVSC), for example /media/C64Music/"), NULL); | 1151 gtk_tooltips_set_tip (tooltips, cfg_hvsc_path, _("Path to base-directory of your High Voltage SID Collection (HVSC), for example /media/C64Music/"), NULL); |
998 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_hvsc_path), 9679); | 1152 gtk_entry_set_invisible_char (GTK_ENTRY (cfg_hvsc_path), 9679); |
999 | 1153 |
1000 w_alignment7 = gtk_alignment_new (0.5, 0.5, 1, 0.300001); | 1154 w_alignment7 = gtk_alignment_new (0.5, 0.5, 1, 0.300001); |
1155 gtk_widget_set_name (w_alignment7, "w_alignment7"); | |
1001 gtk_widget_show (w_alignment7); | 1156 gtk_widget_show (w_alignment7); |
1002 gtk_box_pack_end (GTK_BOX (cfg_stil_box2), w_alignment7, FALSE, FALSE, 0); | 1157 gtk_box_pack_end (GTK_BOX (cfg_stil_box2), w_alignment7, FALSE, FALSE, 0); |
1003 gtk_container_set_border_width (GTK_CONTAINER (w_alignment7), 4); | 1158 gtk_container_set_border_width (GTK_CONTAINER (w_alignment7), 4); |
1004 | 1159 |
1005 cfg_hvsc_browse = gtk_button_new_with_mnemonic (_("Browse")); | 1160 cfg_hvsc_browse = gtk_button_new_with_mnemonic (_("Browse")); |
1161 gtk_widget_set_name (cfg_hvsc_browse, "cfg_hvsc_browse"); | |
1006 gtk_widget_show (cfg_hvsc_browse); | 1162 gtk_widget_show (cfg_hvsc_browse); |
1007 gtk_container_add (GTK_CONTAINER (w_alignment7), cfg_hvsc_browse); | 1163 gtk_container_add (GTK_CONTAINER (w_alignment7), cfg_hvsc_browse); |
1008 gtk_tooltips_set_tip (tooltips, cfg_hvsc_browse, _("Browse for HVSC path"), NULL); | 1164 gtk_tooltips_set_tip (tooltips, cfg_hvsc_browse, _("Browse for HVSC path"), NULL); |
1009 | 1165 |
1010 label18 = gtk_label_new (_("SID Tune Information List (STIL) database:")); | 1166 label18 = gtk_label_new (_("SID Tune Information List (STIL) database:")); |
1167 gtk_widget_set_name (label18, "label18"); | |
1011 gtk_widget_show (label18); | 1168 gtk_widget_show (label18); |
1012 gtk_frame_set_label_widget (GTK_FRAME (w_frame7), label18); | 1169 gtk_frame_set_label_widget (GTK_FRAME (w_frame7), label18); |
1013 | 1170 |
1014 w_label3 = gtk_label_new (_("Misc")); | 1171 w_label3 = gtk_label_new (_("Misc")); |
1172 gtk_widget_set_name (w_label3, "w_label3"); | |
1015 gtk_widget_show (w_label3); | 1173 gtk_widget_show (w_label3); |
1016 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 5), w_label3); | 1174 gtk_notebook_set_tab_label (GTK_NOTEBOOK (cfg_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (cfg_notebook), 5), w_label3); |
1017 gtk_label_set_justify (GTK_LABEL (w_label3), GTK_JUSTIFY_CENTER); | 1175 gtk_label_set_justify (GTK_LABEL (w_label3), GTK_JUSTIFY_CENTER); |
1018 | 1176 |
1019 hbuttonbox1 = gtk_hbutton_box_new (); | 1177 hbuttonbox1 = gtk_hbutton_box_new (); |
1178 gtk_widget_set_name (hbuttonbox1, "hbuttonbox1"); | |
1020 gtk_widget_show (hbuttonbox1); | 1179 gtk_widget_show (hbuttonbox1); |
1021 gtk_box_pack_end (GTK_BOX (w_vbox1), hbuttonbox1, FALSE, FALSE, 0); | 1180 gtk_box_pack_end (GTK_BOX (w_vbox1), hbuttonbox1, FALSE, FALSE, 0); |
1022 gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox1), 4); | 1181 gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox1), 4); |
1023 gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END); | 1182 gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END); |
1024 gtk_box_set_spacing (GTK_BOX (hbuttonbox1), 8); | 1183 gtk_box_set_spacing (GTK_BOX (hbuttonbox1), 8); |
1025 | 1184 |
1026 cfg_ok = gtk_button_new_with_mnemonic (_("OK")); | 1185 cfg_ok = gtk_button_new_with_mnemonic (_("OK")); |
1186 gtk_widget_set_name (cfg_ok, "cfg_ok"); | |
1027 gtk_widget_show (cfg_ok); | 1187 gtk_widget_show (cfg_ok); |
1028 gtk_container_add (GTK_CONTAINER (hbuttonbox1), cfg_ok); | 1188 gtk_container_add (GTK_CONTAINER (hbuttonbox1), cfg_ok); |
1029 GTK_WIDGET_SET_FLAGS (cfg_ok, GTK_CAN_DEFAULT); | 1189 GTK_WIDGET_SET_FLAGS (cfg_ok, GTK_CAN_DEFAULT); |
1030 gtk_tooltips_set_tip (tooltips, cfg_ok, _("Accept and update changes"), NULL); | 1190 gtk_tooltips_set_tip (tooltips, cfg_ok, _("Accept and update changes"), NULL); |
1031 | 1191 |
1032 cfg_cancel = gtk_button_new_with_mnemonic (_("Cancel")); | 1192 cfg_cancel = gtk_button_new_with_mnemonic (_("Cancel")); |
1193 gtk_widget_set_name (cfg_cancel, "cfg_cancel"); | |
1033 gtk_widget_show (cfg_cancel); | 1194 gtk_widget_show (cfg_cancel); |
1034 gtk_container_add (GTK_CONTAINER (hbuttonbox1), cfg_cancel); | 1195 gtk_container_add (GTK_CONTAINER (hbuttonbox1), cfg_cancel); |
1035 GTK_WIDGET_SET_FLAGS (cfg_cancel, GTK_CAN_DEFAULT); | 1196 GTK_WIDGET_SET_FLAGS (cfg_cancel, GTK_CAN_DEFAULT); |
1036 gtk_tooltips_set_tip (tooltips, cfg_cancel, _("Cancel any changes"), NULL); | 1197 gtk_tooltips_set_tip (tooltips, cfg_cancel, _("Cancel any changes"), NULL); |
1037 | 1198 |
1293 GtkWidget *label23; | 1454 GtkWidget *label23; |
1294 GtkWidget *w_frame15; | 1455 GtkWidget *w_frame15; |
1295 GtkWidget *w_vbox15; | 1456 GtkWidget *w_vbox15; |
1296 GtkWidget *fileinfo_sub_tune; | 1457 GtkWidget *fileinfo_sub_tune; |
1297 GtkWidget *convertwidget7; | 1458 GtkWidget *convertwidget7; |
1298 GtkWidget *convertwidget8; | |
1299 GtkWidget *table2; | 1459 GtkWidget *table2; |
1300 GtkWidget *w_label41; | 1460 GtkWidget *w_label41; |
1301 GtkWidget *fileinfo_sub_author; | 1461 GtkWidget *fileinfo_sub_author; |
1302 GtkWidget *w_label50; | 1462 GtkWidget *w_label50; |
1303 GtkWidget *fileinfo_sub_name; | 1463 GtkWidget *fileinfo_sub_name; |
1307 GtkWidget *fileinfo_sub_info; | 1467 GtkWidget *fileinfo_sub_info; |
1308 GtkWidget *label24; | 1468 GtkWidget *label24; |
1309 GtkWidget *button2; | 1469 GtkWidget *button2; |
1310 | 1470 |
1311 xs_fileinfowin = gtk_window_new (GTK_WINDOW_TOPLEVEL); | 1471 xs_fileinfowin = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
1472 gtk_widget_set_name (xs_fileinfowin, "xs_fileinfowin"); | |
1312 gtk_widget_set_size_request (xs_fileinfowin, 400, -1); | 1473 gtk_widget_set_size_request (xs_fileinfowin, 400, -1); |
1313 gtk_window_set_title (GTK_WINDOW (xs_fileinfowin), _("Audacious-SID Fileinfo")); | 1474 gtk_window_set_title (GTK_WINDOW (xs_fileinfowin), _("Audacious-SID Fileinfo")); |
1314 | 1475 |
1315 w_vbox14 = gtk_vbox_new (FALSE, 0); | 1476 w_vbox14 = gtk_vbox_new (FALSE, 0); |
1477 gtk_widget_set_name (w_vbox14, "w_vbox14"); | |
1316 gtk_widget_show (w_vbox14); | 1478 gtk_widget_show (w_vbox14); |
1317 gtk_container_add (GTK_CONTAINER (xs_fileinfowin), w_vbox14); | 1479 gtk_container_add (GTK_CONTAINER (xs_fileinfowin), w_vbox14); |
1318 | 1480 |
1319 w_frame14 = gtk_frame_new (NULL); | 1481 w_frame14 = gtk_frame_new (NULL); |
1482 gtk_widget_set_name (w_frame14, "w_frame14"); | |
1320 gtk_widget_show (w_frame14); | 1483 gtk_widget_show (w_frame14); |
1321 gtk_box_pack_start (GTK_BOX (w_vbox14), w_frame14, FALSE, TRUE, 0); | 1484 gtk_box_pack_start (GTK_BOX (w_vbox14), w_frame14, FALSE, TRUE, 0); |
1322 gtk_container_set_border_width (GTK_CONTAINER (w_frame14), 4); | 1485 gtk_container_set_border_width (GTK_CONTAINER (w_frame14), 4); |
1323 | 1486 |
1324 table1 = gtk_table_new (4, 2, FALSE); | 1487 table1 = gtk_table_new (4, 2, FALSE); |
1488 gtk_widget_set_name (table1, "table1"); | |
1325 gtk_widget_show (table1); | 1489 gtk_widget_show (table1); |
1326 gtk_container_add (GTK_CONTAINER (w_frame14), table1); | 1490 gtk_container_add (GTK_CONTAINER (w_frame14), table1); |
1327 gtk_container_set_border_width (GTK_CONTAINER (table1), 4); | 1491 gtk_container_set_border_width (GTK_CONTAINER (table1), 4); |
1328 gtk_table_set_row_spacings (GTK_TABLE (table1), 2); | 1492 gtk_table_set_row_spacings (GTK_TABLE (table1), 2); |
1329 gtk_table_set_col_spacings (GTK_TABLE (table1), 4); | 1493 gtk_table_set_col_spacings (GTK_TABLE (table1), 4); |
1330 | 1494 |
1331 w_label16 = gtk_label_new (_("Filename:")); | 1495 w_label16 = gtk_label_new (_("Filename:")); |
1496 gtk_widget_set_name (w_label16, "w_label16"); | |
1332 gtk_widget_show (w_label16); | 1497 gtk_widget_show (w_label16); |
1333 gtk_table_attach (GTK_TABLE (table1), w_label16, 0, 1, 0, 1, | 1498 gtk_table_attach (GTK_TABLE (table1), w_label16, 0, 1, 0, 1, |
1334 (GtkAttachOptions) (0), | 1499 (GtkAttachOptions) (0), |
1335 (GtkAttachOptions) (0), 0, 0); | 1500 (GtkAttachOptions) (0), 0, 0); |
1336 gtk_label_set_justify (GTK_LABEL (w_label16), GTK_JUSTIFY_CENTER); | 1501 gtk_label_set_justify (GTK_LABEL (w_label16), GTK_JUSTIFY_CENTER); |
1337 | 1502 |
1338 w_label17 = gtk_label_new (_("Songname:")); | 1503 w_label17 = gtk_label_new (_("Songname:")); |
1504 gtk_widget_set_name (w_label17, "w_label17"); | |
1339 gtk_widget_show (w_label17); | 1505 gtk_widget_show (w_label17); |
1340 gtk_table_attach (GTK_TABLE (table1), w_label17, 0, 1, 1, 2, | 1506 gtk_table_attach (GTK_TABLE (table1), w_label17, 0, 1, 1, 2, |
1341 (GtkAttachOptions) (0), | 1507 (GtkAttachOptions) (0), |
1342 (GtkAttachOptions) (0), 0, 0); | 1508 (GtkAttachOptions) (0), 0, 0); |
1343 gtk_label_set_justify (GTK_LABEL (w_label17), GTK_JUSTIFY_CENTER); | 1509 gtk_label_set_justify (GTK_LABEL (w_label17), GTK_JUSTIFY_CENTER); |
1344 | 1510 |
1345 w_label18 = gtk_label_new (_("Composer:")); | 1511 w_label18 = gtk_label_new (_("Composer:")); |
1512 gtk_widget_set_name (w_label18, "w_label18"); | |
1346 gtk_widget_show (w_label18); | 1513 gtk_widget_show (w_label18); |
1347 gtk_table_attach (GTK_TABLE (table1), w_label18, 0, 1, 2, 3, | 1514 gtk_table_attach (GTK_TABLE (table1), w_label18, 0, 1, 2, 3, |
1348 (GtkAttachOptions) (0), | 1515 (GtkAttachOptions) (0), |
1349 (GtkAttachOptions) (0), 0, 0); | 1516 (GtkAttachOptions) (0), 0, 0); |
1350 gtk_label_set_justify (GTK_LABEL (w_label18), GTK_JUSTIFY_CENTER); | 1517 gtk_label_set_justify (GTK_LABEL (w_label18), GTK_JUSTIFY_CENTER); |
1351 | 1518 |
1352 w_label19 = gtk_label_new (_("Copyright:")); | 1519 w_label19 = gtk_label_new (_("Copyright:")); |
1520 gtk_widget_set_name (w_label19, "w_label19"); | |
1353 gtk_widget_show (w_label19); | 1521 gtk_widget_show (w_label19); |
1354 gtk_table_attach (GTK_TABLE (table1), w_label19, 0, 1, 3, 4, | 1522 gtk_table_attach (GTK_TABLE (table1), w_label19, 0, 1, 3, 4, |
1355 (GtkAttachOptions) (0), | 1523 (GtkAttachOptions) (0), |
1356 (GtkAttachOptions) (0), 0, 0); | 1524 (GtkAttachOptions) (0), 0, 0); |
1357 gtk_label_set_justify (GTK_LABEL (w_label19), GTK_JUSTIFY_CENTER); | 1525 gtk_label_set_justify (GTK_LABEL (w_label19), GTK_JUSTIFY_CENTER); |
1358 | 1526 |
1359 fileinfo_filename = gtk_entry_new (); | 1527 fileinfo_filename = gtk_entry_new (); |
1528 gtk_widget_set_name (fileinfo_filename, "fileinfo_filename"); | |
1360 gtk_widget_show (fileinfo_filename); | 1529 gtk_widget_show (fileinfo_filename); |
1361 gtk_table_attach (GTK_TABLE (table1), fileinfo_filename, 1, 2, 0, 1, | 1530 gtk_table_attach (GTK_TABLE (table1), fileinfo_filename, 1, 2, 0, 1, |
1362 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1531 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1363 (GtkAttachOptions) (0), 0, 0); | 1532 (GtkAttachOptions) (0), 0, 0); |
1364 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_filename), FALSE); | 1533 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_filename), FALSE); |
1365 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_filename), 9679); | 1534 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_filename), 9679); |
1366 | 1535 |
1367 fileinfo_songname = gtk_entry_new (); | 1536 fileinfo_songname = gtk_entry_new (); |
1537 gtk_widget_set_name (fileinfo_songname, "fileinfo_songname"); | |
1368 gtk_widget_show (fileinfo_songname); | 1538 gtk_widget_show (fileinfo_songname); |
1369 gtk_table_attach (GTK_TABLE (table1), fileinfo_songname, 1, 2, 1, 2, | 1539 gtk_table_attach (GTK_TABLE (table1), fileinfo_songname, 1, 2, 1, 2, |
1370 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1540 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1371 (GtkAttachOptions) (0), 0, 0); | 1541 (GtkAttachOptions) (0), 0, 0); |
1372 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_songname), FALSE); | 1542 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_songname), FALSE); |
1373 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_songname), 9679); | 1543 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_songname), 9679); |
1374 | 1544 |
1375 fileinfo_composer = gtk_entry_new (); | 1545 fileinfo_composer = gtk_entry_new (); |
1546 gtk_widget_set_name (fileinfo_composer, "fileinfo_composer"); | |
1376 gtk_widget_show (fileinfo_composer); | 1547 gtk_widget_show (fileinfo_composer); |
1377 gtk_table_attach (GTK_TABLE (table1), fileinfo_composer, 1, 2, 2, 3, | 1548 gtk_table_attach (GTK_TABLE (table1), fileinfo_composer, 1, 2, 2, 3, |
1378 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1549 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1379 (GtkAttachOptions) (0), 0, 0); | 1550 (GtkAttachOptions) (0), 0, 0); |
1380 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_composer), FALSE); | 1551 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_composer), FALSE); |
1381 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_composer), 9679); | 1552 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_composer), 9679); |
1382 | 1553 |
1383 fileinfo_copyright = gtk_entry_new (); | 1554 fileinfo_copyright = gtk_entry_new (); |
1555 gtk_widget_set_name (fileinfo_copyright, "fileinfo_copyright"); | |
1384 gtk_widget_show (fileinfo_copyright); | 1556 gtk_widget_show (fileinfo_copyright); |
1385 gtk_table_attach (GTK_TABLE (table1), fileinfo_copyright, 1, 2, 3, 4, | 1557 gtk_table_attach (GTK_TABLE (table1), fileinfo_copyright, 1, 2, 3, 4, |
1386 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1558 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1387 (GtkAttachOptions) (0), 0, 0); | 1559 (GtkAttachOptions) (0), 0, 0); |
1388 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_copyright), FALSE); | 1560 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_copyright), FALSE); |
1389 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_copyright), 9679); | 1561 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_copyright), 9679); |
1390 | 1562 |
1391 label23 = gtk_label_new (_("Song Information:")); | 1563 label23 = gtk_label_new (_("Song Information:")); |
1564 gtk_widget_set_name (label23, "label23"); | |
1392 gtk_widget_show (label23); | 1565 gtk_widget_show (label23); |
1393 gtk_frame_set_label_widget (GTK_FRAME (w_frame14), label23); | 1566 gtk_frame_set_label_widget (GTK_FRAME (w_frame14), label23); |
1394 | 1567 |
1395 w_frame15 = gtk_frame_new (NULL); | 1568 w_frame15 = gtk_frame_new (NULL); |
1569 gtk_widget_set_name (w_frame15, "w_frame15"); | |
1396 gtk_widget_show (w_frame15); | 1570 gtk_widget_show (w_frame15); |
1397 gtk_box_pack_start (GTK_BOX (w_vbox14), w_frame15, TRUE, TRUE, 0); | 1571 gtk_box_pack_start (GTK_BOX (w_vbox14), w_frame15, TRUE, TRUE, 0); |
1398 gtk_container_set_border_width (GTK_CONTAINER (w_frame15), 4); | 1572 gtk_container_set_border_width (GTK_CONTAINER (w_frame15), 4); |
1399 | 1573 |
1400 w_vbox15 = gtk_vbox_new (FALSE, 2); | 1574 w_vbox15 = gtk_vbox_new (FALSE, 2); |
1575 gtk_widget_set_name (w_vbox15, "w_vbox15"); | |
1401 gtk_widget_show (w_vbox15); | 1576 gtk_widget_show (w_vbox15); |
1402 gtk_container_add (GTK_CONTAINER (w_frame15), w_vbox15); | 1577 gtk_container_add (GTK_CONTAINER (w_frame15), w_vbox15); |
1403 | 1578 |
1404 fileinfo_sub_tune = gtk_option_menu_new (); | 1579 fileinfo_sub_tune = gtk_option_menu_new (); |
1580 gtk_widget_set_name (fileinfo_sub_tune, "fileinfo_sub_tune"); | |
1405 gtk_widget_show (fileinfo_sub_tune); | 1581 gtk_widget_show (fileinfo_sub_tune); |
1406 gtk_box_pack_start (GTK_BOX (w_vbox15), fileinfo_sub_tune, FALSE, FALSE, 0); | 1582 gtk_box_pack_start (GTK_BOX (w_vbox15), fileinfo_sub_tune, FALSE, FALSE, 0); |
1407 gtk_container_set_border_width (GTK_CONTAINER (fileinfo_sub_tune), 2); | 1583 gtk_container_set_border_width (GTK_CONTAINER (fileinfo_sub_tune), 2); |
1408 | 1584 |
1409 convertwidget7 = gtk_menu_new (); | 1585 convertwidget7 = gtk_menu_new (); |
1410 | 1586 gtk_widget_set_name (convertwidget7, "convertwidget7"); |
1411 convertwidget30 = gtk_menu_item_new_with_mnemonic (" "); | |
1412 gtk_widget_set_name (convertwidget30, "convertwidget30"); | |
1413 gtk_widget_show (convertwidget30); | |
1414 gtk_container_add (GTK_CONTAINER (convertwidget29), convertwidget30); | |
1415 | 1587 |
1416 gtk_option_menu_set_menu (GTK_OPTION_MENU (fileinfo_sub_tune), convertwidget7); | 1588 gtk_option_menu_set_menu (GTK_OPTION_MENU (fileinfo_sub_tune), convertwidget7); |
1417 | 1589 |
1418 table2 = gtk_table_new (3, 2, FALSE); | 1590 table2 = gtk_table_new (3, 2, FALSE); |
1591 gtk_widget_set_name (table2, "table2"); | |
1419 gtk_widget_show (table2); | 1592 gtk_widget_show (table2); |
1420 gtk_box_pack_start (GTK_BOX (w_vbox15), table2, FALSE, FALSE, 0); | 1593 gtk_box_pack_start (GTK_BOX (w_vbox15), table2, FALSE, FALSE, 0); |
1421 gtk_container_set_border_width (GTK_CONTAINER (table2), 4); | 1594 gtk_container_set_border_width (GTK_CONTAINER (table2), 4); |
1422 gtk_table_set_row_spacings (GTK_TABLE (table2), 2); | 1595 gtk_table_set_row_spacings (GTK_TABLE (table2), 2); |
1423 gtk_table_set_col_spacings (GTK_TABLE (table2), 4); | 1596 gtk_table_set_col_spacings (GTK_TABLE (table2), 4); |
1424 | 1597 |
1425 w_label41 = gtk_label_new (_("Author:")); | 1598 w_label41 = gtk_label_new (_("Author:")); |
1599 gtk_widget_set_name (w_label41, "w_label41"); | |
1426 gtk_widget_show (w_label41); | 1600 gtk_widget_show (w_label41); |
1427 gtk_table_attach (GTK_TABLE (table2), w_label41, 0, 1, 1, 2, | 1601 gtk_table_attach (GTK_TABLE (table2), w_label41, 0, 1, 1, 2, |
1428 (GtkAttachOptions) (GTK_FILL), | 1602 (GtkAttachOptions) (GTK_FILL), |
1429 (GtkAttachOptions) (0), 0, 0); | 1603 (GtkAttachOptions) (0), 0, 0); |
1430 gtk_label_set_justify (GTK_LABEL (w_label41), GTK_JUSTIFY_CENTER); | 1604 gtk_label_set_justify (GTK_LABEL (w_label41), GTK_JUSTIFY_CENTER); |
1431 | 1605 |
1432 fileinfo_sub_author = gtk_entry_new (); | 1606 fileinfo_sub_author = gtk_entry_new (); |
1607 gtk_widget_set_name (fileinfo_sub_author, "fileinfo_sub_author"); | |
1433 gtk_widget_show (fileinfo_sub_author); | 1608 gtk_widget_show (fileinfo_sub_author); |
1434 gtk_table_attach (GTK_TABLE (table2), fileinfo_sub_author, 1, 2, 1, 2, | 1609 gtk_table_attach (GTK_TABLE (table2), fileinfo_sub_author, 1, 2, 1, 2, |
1435 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1610 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1436 (GtkAttachOptions) (0), 0, 0); | 1611 (GtkAttachOptions) (0), 0, 0); |
1437 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_sub_author), FALSE); | 1612 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_sub_author), FALSE); |
1438 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_sub_author), 9679); | 1613 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_sub_author), 9679); |
1439 | 1614 |
1440 w_label50 = gtk_label_new (_("Name:")); | 1615 w_label50 = gtk_label_new (_("Name:")); |
1616 gtk_widget_set_name (w_label50, "w_label50"); | |
1441 gtk_widget_show (w_label50); | 1617 gtk_widget_show (w_label50); |
1442 gtk_table_attach (GTK_TABLE (table2), w_label50, 0, 1, 0, 1, | 1618 gtk_table_attach (GTK_TABLE (table2), w_label50, 0, 1, 0, 1, |
1443 (GtkAttachOptions) (GTK_FILL), | 1619 (GtkAttachOptions) (GTK_FILL), |
1444 (GtkAttachOptions) (0), 0, 0); | 1620 (GtkAttachOptions) (0), 0, 0); |
1445 gtk_label_set_justify (GTK_LABEL (w_label50), GTK_JUSTIFY_CENTER); | 1621 gtk_label_set_justify (GTK_LABEL (w_label50), GTK_JUSTIFY_CENTER); |
1446 | 1622 |
1447 fileinfo_sub_name = gtk_entry_new (); | 1623 fileinfo_sub_name = gtk_entry_new (); |
1624 gtk_widget_set_name (fileinfo_sub_name, "fileinfo_sub_name"); | |
1448 gtk_widget_show (fileinfo_sub_name); | 1625 gtk_widget_show (fileinfo_sub_name); |
1449 gtk_table_attach (GTK_TABLE (table2), fileinfo_sub_name, 1, 2, 0, 1, | 1626 gtk_table_attach (GTK_TABLE (table2), fileinfo_sub_name, 1, 2, 0, 1, |
1450 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1627 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1451 (GtkAttachOptions) (0), 0, 0); | 1628 (GtkAttachOptions) (0), 0, 0); |
1452 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_sub_name), FALSE); | 1629 gtk_editable_set_editable (GTK_EDITABLE (fileinfo_sub_name), FALSE); |
1453 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_sub_name), 9679); | 1630 gtk_entry_set_invisible_char (GTK_ENTRY (fileinfo_sub_name), 9679); |
1454 | 1631 |
1455 w_label51 = gtk_label_new (_("Duration:")); | 1632 w_label51 = gtk_label_new (_("Duration:")); |
1633 gtk_widget_set_name (w_label51, "w_label51"); | |
1456 gtk_widget_show (w_label51); | 1634 gtk_widget_show (w_label51); |
1457 gtk_table_attach (GTK_TABLE (table2), w_label51, 0, 1, 2, 3, | 1635 gtk_table_attach (GTK_TABLE (table2), w_label51, 0, 1, 2, 3, |
1458 (GtkAttachOptions) (GTK_FILL), | 1636 (GtkAttachOptions) (GTK_FILL), |
1459 (GtkAttachOptions) (0), 0, 0); | 1637 (GtkAttachOptions) (0), 0, 0); |
1460 gtk_label_set_justify (GTK_LABEL (w_label51), GTK_JUSTIFY_CENTER); | 1638 gtk_label_set_justify (GTK_LABEL (w_label51), GTK_JUSTIFY_CENTER); |
1461 gtk_misc_set_alignment (GTK_MISC (w_label51), 0, 0.5); | 1639 gtk_misc_set_alignment (GTK_MISC (w_label51), 0, 0.5); |
1462 | 1640 |
1463 entry1 = gtk_entry_new (); | 1641 entry1 = gtk_entry_new (); |
1642 gtk_widget_set_name (entry1, "entry1"); | |
1464 gtk_widget_show (entry1); | 1643 gtk_widget_show (entry1); |
1465 gtk_table_attach (GTK_TABLE (table2), entry1, 1, 2, 2, 3, | 1644 gtk_table_attach (GTK_TABLE (table2), entry1, 1, 2, 2, 3, |
1466 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), | 1645 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |
1467 (GtkAttachOptions) (0), 0, 0); | 1646 (GtkAttachOptions) (0), 0, 0); |
1468 gtk_editable_set_editable (GTK_EDITABLE (entry1), FALSE); | 1647 gtk_editable_set_editable (GTK_EDITABLE (entry1), FALSE); |
1469 gtk_entry_set_invisible_char (GTK_ENTRY (entry1), 9679); | 1648 gtk_entry_set_invisible_char (GTK_ENTRY (entry1), 9679); |
1470 | 1649 |
1471 scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); | 1650 scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); |
1651 gtk_widget_set_name (scrolledwindow2, "scrolledwindow2"); | |
1472 gtk_widget_show (scrolledwindow2); | 1652 gtk_widget_show (scrolledwindow2); |
1473 gtk_box_pack_start (GTK_BOX (w_vbox15), scrolledwindow2, TRUE, TRUE, 0); | 1653 gtk_box_pack_start (GTK_BOX (w_vbox15), scrolledwindow2, TRUE, TRUE, 0); |
1474 gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow2), 4); | 1654 gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow2), 4); |
1475 GTK_WIDGET_UNSET_FLAGS (scrolledwindow2, GTK_CAN_FOCUS); | 1655 GTK_WIDGET_UNSET_FLAGS (scrolledwindow2, GTK_CAN_FOCUS); |
1476 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); | 1656 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); |
1477 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN); | 1657 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN); |
1478 | 1658 |
1479 fileinfo_sub_info = gtk_text_view_new (); | 1659 fileinfo_sub_info = gtk_text_view_new (); |
1660 gtk_widget_set_name (fileinfo_sub_info, "fileinfo_sub_info"); | |
1480 gtk_widget_show (fileinfo_sub_info); | 1661 gtk_widget_show (fileinfo_sub_info); |
1481 gtk_container_add (GTK_CONTAINER (scrolledwindow2), fileinfo_sub_info); | 1662 gtk_container_add (GTK_CONTAINER (scrolledwindow2), fileinfo_sub_info); |
1482 gtk_text_view_set_editable (GTK_TEXT_VIEW (fileinfo_sub_info), FALSE); | 1663 gtk_text_view_set_editable (GTK_TEXT_VIEW (fileinfo_sub_info), FALSE); |
1483 gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (fileinfo_sub_info), GTK_WRAP_WORD); | 1664 gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (fileinfo_sub_info), GTK_WRAP_WORD); |
1484 | 1665 |
1485 label24 = gtk_label_new (_("Sub-tune Information:")); | 1666 label24 = gtk_label_new (_("Sub-tune Information:")); |
1667 gtk_widget_set_name (label24, "label24"); | |
1486 gtk_widget_show (label24); | 1668 gtk_widget_show (label24); |
1487 gtk_frame_set_label_widget (GTK_FRAME (w_frame15), label24); | 1669 gtk_frame_set_label_widget (GTK_FRAME (w_frame15), label24); |
1488 | 1670 |
1489 button2 = gtk_button_new_with_mnemonic (_("Close")); | 1671 button2 = gtk_button_new_with_mnemonic (_("Close")); |
1672 gtk_widget_set_name (button2, "button2"); | |
1490 gtk_widget_show (button2); | 1673 gtk_widget_show (button2); |
1491 gtk_box_pack_start (GTK_BOX (w_vbox14), button2, FALSE, FALSE, 0); | 1674 gtk_box_pack_start (GTK_BOX (w_vbox14), button2, FALSE, FALSE, 0); |
1492 gtk_container_set_border_width (GTK_CONTAINER (button2), 4); | 1675 gtk_container_set_border_width (GTK_CONTAINER (button2), 4); |
1493 GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT); | 1676 GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT); |
1494 | 1677 |
1515 GLADE_HOOKUP_OBJECT (xs_fileinfowin, label23, "label23"); | 1698 GLADE_HOOKUP_OBJECT (xs_fileinfowin, label23, "label23"); |
1516 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_frame15, "w_frame15"); | 1699 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_frame15, "w_frame15"); |
1517 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_vbox15, "w_vbox15"); | 1700 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_vbox15, "w_vbox15"); |
1518 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_tune, "fileinfo_sub_tune"); | 1701 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_tune, "fileinfo_sub_tune"); |
1519 GLADE_HOOKUP_OBJECT (xs_fileinfowin, convertwidget7, "convertwidget7"); | 1702 GLADE_HOOKUP_OBJECT (xs_fileinfowin, convertwidget7, "convertwidget7"); |
1520 GLADE_HOOKUP_OBJECT (xs_fileinfowin, convertwidget8, "convertwidget8"); | |
1521 GLADE_HOOKUP_OBJECT (xs_fileinfowin, table2, "table2"); | 1703 GLADE_HOOKUP_OBJECT (xs_fileinfowin, table2, "table2"); |
1522 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_label41, "w_label41"); | 1704 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_label41, "w_label41"); |
1523 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_author, "fileinfo_sub_author"); | 1705 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_author, "fileinfo_sub_author"); |
1524 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_label50, "w_label50"); | 1706 GLADE_HOOKUP_OBJECT (xs_fileinfowin, w_label50, "w_label50"); |
1525 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_name, "fileinfo_sub_name"); | 1707 GLADE_HOOKUP_OBJECT (xs_fileinfowin, fileinfo_sub_name, "fileinfo_sub_name"); |
1541 GtkWidget *xs_sldb_fs; | 1723 GtkWidget *xs_sldb_fs; |
1542 GtkWidget *ok_button2; | 1724 GtkWidget *ok_button2; |
1543 GtkWidget *cancel_button2; | 1725 GtkWidget *cancel_button2; |
1544 | 1726 |
1545 xs_sldb_fs = gtk_file_selection_new (_("Select HVSC song length database")); | 1727 xs_sldb_fs = gtk_file_selection_new (_("Select HVSC song length database")); |
1728 gtk_widget_set_name (xs_sldb_fs, "xs_sldb_fs"); | |
1546 gtk_container_set_border_width (GTK_CONTAINER (xs_sldb_fs), 10); | 1729 gtk_container_set_border_width (GTK_CONTAINER (xs_sldb_fs), 10); |
1547 gtk_window_set_modal (GTK_WINDOW (xs_sldb_fs), TRUE); | 1730 gtk_window_set_modal (GTK_WINDOW (xs_sldb_fs), TRUE); |
1548 gtk_window_set_type_hint (GTK_WINDOW (xs_sldb_fs), GDK_WINDOW_TYPE_HINT_DIALOG); | 1731 gtk_window_set_type_hint (GTK_WINDOW (xs_sldb_fs), GDK_WINDOW_TYPE_HINT_DIALOG); |
1549 | 1732 |
1550 ok_button2 = GTK_FILE_SELECTION (xs_sldb_fs)->ok_button; | 1733 ok_button2 = GTK_FILE_SELECTION (xs_sldb_fs)->ok_button; |
1734 gtk_widget_set_name (ok_button2, "ok_button2"); | |
1551 gtk_widget_show (ok_button2); | 1735 gtk_widget_show (ok_button2); |
1552 GTK_WIDGET_SET_FLAGS (ok_button2, GTK_CAN_DEFAULT); | 1736 GTK_WIDGET_SET_FLAGS (ok_button2, GTK_CAN_DEFAULT); |
1553 | 1737 |
1554 cancel_button2 = GTK_FILE_SELECTION (xs_sldb_fs)->cancel_button; | 1738 cancel_button2 = GTK_FILE_SELECTION (xs_sldb_fs)->cancel_button; |
1739 gtk_widget_set_name (cancel_button2, "cancel_button2"); | |
1555 gtk_widget_show (cancel_button2); | 1740 gtk_widget_show (cancel_button2); |
1556 GTK_WIDGET_SET_FLAGS (cancel_button2, GTK_CAN_DEFAULT); | 1741 GTK_WIDGET_SET_FLAGS (cancel_button2, GTK_CAN_DEFAULT); |
1557 | 1742 |
1558 g_signal_connect ((gpointer) xs_sldb_fs, "delete_event", | 1743 g_signal_connect ((gpointer) xs_sldb_fs, "delete_event", |
1559 G_CALLBACK (xs_sldb_fs_delete), | 1744 G_CALLBACK (xs_sldb_fs_delete), |
1579 GtkWidget *xs_stil_fs; | 1764 GtkWidget *xs_stil_fs; |
1580 GtkWidget *ok_button3; | 1765 GtkWidget *ok_button3; |
1581 GtkWidget *cancel_button3; | 1766 GtkWidget *cancel_button3; |
1582 | 1767 |
1583 xs_stil_fs = gtk_file_selection_new (_("Select STIL-database ")); | 1768 xs_stil_fs = gtk_file_selection_new (_("Select STIL-database ")); |
1769 gtk_widget_set_name (xs_stil_fs, "xs_stil_fs"); | |
1584 gtk_container_set_border_width (GTK_CONTAINER (xs_stil_fs), 10); | 1770 gtk_container_set_border_width (GTK_CONTAINER (xs_stil_fs), 10); |
1585 gtk_window_set_modal (GTK_WINDOW (xs_stil_fs), TRUE); | 1771 gtk_window_set_modal (GTK_WINDOW (xs_stil_fs), TRUE); |
1586 gtk_window_set_type_hint (GTK_WINDOW (xs_stil_fs), GDK_WINDOW_TYPE_HINT_DIALOG); | 1772 gtk_window_set_type_hint (GTK_WINDOW (xs_stil_fs), GDK_WINDOW_TYPE_HINT_DIALOG); |
1587 | 1773 |
1588 ok_button3 = GTK_FILE_SELECTION (xs_stil_fs)->ok_button; | 1774 ok_button3 = GTK_FILE_SELECTION (xs_stil_fs)->ok_button; |
1775 gtk_widget_set_name (ok_button3, "ok_button3"); | |
1589 gtk_widget_show (ok_button3); | 1776 gtk_widget_show (ok_button3); |
1590 GTK_WIDGET_SET_FLAGS (ok_button3, GTK_CAN_DEFAULT); | 1777 GTK_WIDGET_SET_FLAGS (ok_button3, GTK_CAN_DEFAULT); |
1591 | 1778 |
1592 cancel_button3 = GTK_FILE_SELECTION (xs_stil_fs)->cancel_button; | 1779 cancel_button3 = GTK_FILE_SELECTION (xs_stil_fs)->cancel_button; |
1780 gtk_widget_set_name (cancel_button3, "cancel_button3"); | |
1593 gtk_widget_show (cancel_button3); | 1781 gtk_widget_show (cancel_button3); |
1594 GTK_WIDGET_SET_FLAGS (cancel_button3, GTK_CAN_DEFAULT); | 1782 GTK_WIDGET_SET_FLAGS (cancel_button3, GTK_CAN_DEFAULT); |
1595 | 1783 |
1596 g_signal_connect ((gpointer) xs_stil_fs, "delete_event", | 1784 g_signal_connect ((gpointer) xs_stil_fs, "delete_event", |
1597 G_CALLBACK (xs_stil_fs_delete), | 1785 G_CALLBACK (xs_stil_fs_delete), |
1617 GtkWidget *xs_hvsc_fs; | 1805 GtkWidget *xs_hvsc_fs; |
1618 GtkWidget *ok_button4; | 1806 GtkWidget *ok_button4; |
1619 GtkWidget *cancel_button4; | 1807 GtkWidget *cancel_button4; |
1620 | 1808 |
1621 xs_hvsc_fs = gtk_file_selection_new (_("Select HVSC location prefix")); | 1809 xs_hvsc_fs = gtk_file_selection_new (_("Select HVSC location prefix")); |
1810 gtk_widget_set_name (xs_hvsc_fs, "xs_hvsc_fs"); | |
1622 gtk_container_set_border_width (GTK_CONTAINER (xs_hvsc_fs), 10); | 1811 gtk_container_set_border_width (GTK_CONTAINER (xs_hvsc_fs), 10); |
1623 gtk_window_set_modal (GTK_WINDOW (xs_hvsc_fs), TRUE); | 1812 gtk_window_set_modal (GTK_WINDOW (xs_hvsc_fs), TRUE); |
1624 gtk_window_set_type_hint (GTK_WINDOW (xs_hvsc_fs), GDK_WINDOW_TYPE_HINT_DIALOG); | 1813 gtk_window_set_type_hint (GTK_WINDOW (xs_hvsc_fs), GDK_WINDOW_TYPE_HINT_DIALOG); |
1625 | 1814 |
1626 ok_button4 = GTK_FILE_SELECTION (xs_hvsc_fs)->ok_button; | 1815 ok_button4 = GTK_FILE_SELECTION (xs_hvsc_fs)->ok_button; |
1816 gtk_widget_set_name (ok_button4, "ok_button4"); | |
1627 gtk_widget_show (ok_button4); | 1817 gtk_widget_show (ok_button4); |
1628 GTK_WIDGET_SET_FLAGS (ok_button4, GTK_CAN_DEFAULT); | 1818 GTK_WIDGET_SET_FLAGS (ok_button4, GTK_CAN_DEFAULT); |
1629 | 1819 |
1630 cancel_button4 = GTK_FILE_SELECTION (xs_hvsc_fs)->cancel_button; | 1820 cancel_button4 = GTK_FILE_SELECTION (xs_hvsc_fs)->cancel_button; |
1821 gtk_widget_set_name (cancel_button4, "cancel_button4"); | |
1631 gtk_widget_show (cancel_button4); | 1822 gtk_widget_show (cancel_button4); |
1632 GTK_WIDGET_SET_FLAGS (cancel_button4, GTK_CAN_DEFAULT); | 1823 GTK_WIDGET_SET_FLAGS (cancel_button4, GTK_CAN_DEFAULT); |
1633 | 1824 |
1634 g_signal_connect ((gpointer) xs_hvsc_fs, "delete_event", | 1825 g_signal_connect ((gpointer) xs_hvsc_fs, "delete_event", |
1635 G_CALLBACK (xs_hvsc_fs_delete), | 1826 G_CALLBACK (xs_hvsc_fs_delete), |
1655 GtkWidget *xs_filter_import_fs; | 1846 GtkWidget *xs_filter_import_fs; |
1656 GtkWidget *ok_button64; | 1847 GtkWidget *ok_button64; |
1657 GtkWidget *cancel_button64; | 1848 GtkWidget *cancel_button64; |
1658 | 1849 |
1659 xs_filter_import_fs = gtk_file_selection_new (_("Select SIDPlay2 filters file for importing")); | 1850 xs_filter_import_fs = gtk_file_selection_new (_("Select SIDPlay2 filters file for importing")); |
1851 gtk_widget_set_name (xs_filter_import_fs, "xs_filter_import_fs"); | |
1660 gtk_container_set_border_width (GTK_CONTAINER (xs_filter_import_fs), 10); | 1852 gtk_container_set_border_width (GTK_CONTAINER (xs_filter_import_fs), 10); |
1661 gtk_window_set_modal (GTK_WINDOW (xs_filter_import_fs), TRUE); | 1853 gtk_window_set_modal (GTK_WINDOW (xs_filter_import_fs), TRUE); |
1662 gtk_window_set_type_hint (GTK_WINDOW (xs_filter_import_fs), GDK_WINDOW_TYPE_HINT_DIALOG); | 1854 gtk_window_set_type_hint (GTK_WINDOW (xs_filter_import_fs), GDK_WINDOW_TYPE_HINT_DIALOG); |
1663 | 1855 |
1664 ok_button64 = GTK_FILE_SELECTION (xs_filter_import_fs)->ok_button; | 1856 ok_button64 = GTK_FILE_SELECTION (xs_filter_import_fs)->ok_button; |
1857 gtk_widget_set_name (ok_button64, "ok_button64"); | |
1665 gtk_widget_show (ok_button64); | 1858 gtk_widget_show (ok_button64); |
1666 GTK_WIDGET_SET_FLAGS (ok_button64, GTK_CAN_DEFAULT); | 1859 GTK_WIDGET_SET_FLAGS (ok_button64, GTK_CAN_DEFAULT); |
1667 | 1860 |
1668 cancel_button64 = GTK_FILE_SELECTION (xs_filter_import_fs)->cancel_button; | 1861 cancel_button64 = GTK_FILE_SELECTION (xs_filter_import_fs)->cancel_button; |
1862 gtk_widget_set_name (cancel_button64, "cancel_button64"); | |
1669 gtk_widget_show (cancel_button64); | 1863 gtk_widget_show (cancel_button64); |
1670 GTK_WIDGET_SET_FLAGS (cancel_button64, GTK_CAN_DEFAULT); | 1864 GTK_WIDGET_SET_FLAGS (cancel_button64, GTK_CAN_DEFAULT); |
1671 | 1865 |
1672 g_signal_connect ((gpointer) xs_filter_import_fs, "delete_event", | 1866 g_signal_connect ((gpointer) xs_filter_import_fs, "delete_event", |
1673 G_CALLBACK (xs_filter_import_fs_delete), | 1867 G_CALLBACK (xs_filter_import_fs_delete), |
1693 GtkWidget *xs_filter_export_fs; | 1887 GtkWidget *xs_filter_export_fs; |
1694 GtkWidget *ok_button64; | 1888 GtkWidget *ok_button64; |
1695 GtkWidget *cancel_button64; | 1889 GtkWidget *cancel_button64; |
1696 | 1890 |
1697 xs_filter_export_fs = gtk_file_selection_new (_("Select SIDPlay2 filters file for exporting")); | 1891 xs_filter_export_fs = gtk_file_selection_new (_("Select SIDPlay2 filters file for exporting")); |
1892 gtk_widget_set_name (xs_filter_export_fs, "xs_filter_export_fs"); | |
1698 gtk_container_set_border_width (GTK_CONTAINER (xs_filter_export_fs), 10); | 1893 gtk_container_set_border_width (GTK_CONTAINER (xs_filter_export_fs), 10); |
1699 gtk_window_set_modal (GTK_WINDOW (xs_filter_export_fs), TRUE); | 1894 gtk_window_set_modal (GTK_WINDOW (xs_filter_export_fs), TRUE); |
1700 gtk_window_set_type_hint (GTK_WINDOW (xs_filter_export_fs), GDK_WINDOW_TYPE_HINT_DIALOG); | 1895 gtk_window_set_type_hint (GTK_WINDOW (xs_filter_export_fs), GDK_WINDOW_TYPE_HINT_DIALOG); |
1701 | 1896 |
1702 ok_button64 = GTK_FILE_SELECTION (xs_filter_export_fs)->ok_button; | 1897 ok_button64 = GTK_FILE_SELECTION (xs_filter_export_fs)->ok_button; |
1898 gtk_widget_set_name (ok_button64, "ok_button64"); | |
1703 gtk_widget_show (ok_button64); | 1899 gtk_widget_show (ok_button64); |
1704 GTK_WIDGET_SET_FLAGS (ok_button64, GTK_CAN_DEFAULT); | 1900 GTK_WIDGET_SET_FLAGS (ok_button64, GTK_CAN_DEFAULT); |
1705 | 1901 |
1706 cancel_button64 = GTK_FILE_SELECTION (xs_filter_export_fs)->cancel_button; | 1902 cancel_button64 = GTK_FILE_SELECTION (xs_filter_export_fs)->cancel_button; |
1903 gtk_widget_set_name (cancel_button64, "cancel_button64"); | |
1707 gtk_widget_show (cancel_button64); | 1904 gtk_widget_show (cancel_button64); |
1708 GTK_WIDGET_SET_FLAGS (cancel_button64, GTK_CAN_DEFAULT); | 1905 GTK_WIDGET_SET_FLAGS (cancel_button64, GTK_CAN_DEFAULT); |
1709 | 1906 |
1710 g_signal_connect ((gpointer) xs_filter_export_fs, "delete_event", | 1907 g_signal_connect ((gpointer) xs_filter_export_fs, "delete_event", |
1711 G_CALLBACK (xs_filter_export_fs_delete), | 1908 G_CALLBACK (xs_filter_export_fs_delete), |
1736 GtkWidget *hbuttonbox2; | 1933 GtkWidget *hbuttonbox2; |
1737 GtkWidget *xs_confirm_yes; | 1934 GtkWidget *xs_confirm_yes; |
1738 GtkWidget *xs_confirm_no; | 1935 GtkWidget *xs_confirm_no; |
1739 | 1936 |
1740 xs_confirmwin = gtk_dialog_new (); | 1937 xs_confirmwin = gtk_dialog_new (); |
1938 gtk_widget_set_name (xs_confirmwin, "xs_confirmwin"); | |
1741 gtk_window_set_title (GTK_WINDOW (xs_confirmwin), _("Confirm selected action")); | 1939 gtk_window_set_title (GTK_WINDOW (xs_confirmwin), _("Confirm selected action")); |
1742 gtk_window_set_type_hint (GTK_WINDOW (xs_confirmwin), GDK_WINDOW_TYPE_HINT_DIALOG); | 1940 gtk_window_set_type_hint (GTK_WINDOW (xs_confirmwin), GDK_WINDOW_TYPE_HINT_DIALOG); |
1743 | 1941 |
1744 dialog_vbox1 = GTK_DIALOG (xs_confirmwin)->vbox; | 1942 dialog_vbox1 = GTK_DIALOG (xs_confirmwin)->vbox; |
1943 gtk_widget_set_name (dialog_vbox1, "dialog_vbox1"); | |
1745 gtk_widget_show (dialog_vbox1); | 1944 gtk_widget_show (dialog_vbox1); |
1746 | 1945 |
1747 xs_confirm_frame = gtk_frame_new (NULL); | 1946 xs_confirm_frame = gtk_frame_new (NULL); |
1947 gtk_widget_set_name (xs_confirm_frame, "xs_confirm_frame"); | |
1748 gtk_widget_show (xs_confirm_frame); | 1948 gtk_widget_show (xs_confirm_frame); |
1749 gtk_box_pack_start (GTK_BOX (dialog_vbox1), xs_confirm_frame, TRUE, TRUE, 0); | 1949 gtk_box_pack_start (GTK_BOX (dialog_vbox1), xs_confirm_frame, TRUE, TRUE, 0); |
1750 gtk_container_set_border_width (GTK_CONTAINER (xs_confirm_frame), 6); | 1950 gtk_container_set_border_width (GTK_CONTAINER (xs_confirm_frame), 6); |
1751 | 1951 |
1752 label25 = gtk_label_new (_("Confirm selected action")); | 1952 label25 = gtk_label_new (_("Confirm selected action")); |
1953 gtk_widget_set_name (label25, "label25"); | |
1753 gtk_widget_show (label25); | 1954 gtk_widget_show (label25); |
1754 gtk_frame_set_label_widget (GTK_FRAME (xs_confirm_frame), label25); | 1955 gtk_frame_set_label_widget (GTK_FRAME (xs_confirm_frame), label25); |
1755 | 1956 |
1756 dialog_action_area1 = GTK_DIALOG (xs_confirmwin)->action_area; | 1957 dialog_action_area1 = GTK_DIALOG (xs_confirmwin)->action_area; |
1958 gtk_widget_set_name (dialog_action_area1, "dialog_action_area1"); | |
1757 gtk_widget_show (dialog_action_area1); | 1959 gtk_widget_show (dialog_action_area1); |
1758 gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); | 1960 gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); |
1759 | 1961 |
1760 hbuttonbox2 = gtk_hbutton_box_new (); | 1962 hbuttonbox2 = gtk_hbutton_box_new (); |
1963 gtk_widget_set_name (hbuttonbox2, "hbuttonbox2"); | |
1761 gtk_widget_show (hbuttonbox2); | 1964 gtk_widget_show (hbuttonbox2); |
1762 gtk_container_add (GTK_CONTAINER (dialog_action_area1), hbuttonbox2); | 1965 gtk_container_add (GTK_CONTAINER (dialog_action_area1), hbuttonbox2); |
1763 gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END); | 1966 gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END); |
1764 gtk_box_set_spacing (GTK_BOX (hbuttonbox2), 8); | 1967 gtk_box_set_spacing (GTK_BOX (hbuttonbox2), 8); |
1765 | 1968 |
1766 xs_confirm_yes = gtk_button_new_with_mnemonic (_("Yes")); | 1969 xs_confirm_yes = gtk_button_new_with_mnemonic (_("Yes")); |
1970 gtk_widget_set_name (xs_confirm_yes, "xs_confirm_yes"); | |
1767 gtk_widget_show (xs_confirm_yes); | 1971 gtk_widget_show (xs_confirm_yes); |
1768 gtk_container_add (GTK_CONTAINER (hbuttonbox2), xs_confirm_yes); | 1972 gtk_container_add (GTK_CONTAINER (hbuttonbox2), xs_confirm_yes); |
1769 GTK_WIDGET_SET_FLAGS (xs_confirm_yes, GTK_CAN_DEFAULT); | 1973 GTK_WIDGET_SET_FLAGS (xs_confirm_yes, GTK_CAN_DEFAULT); |
1770 | 1974 |
1771 xs_confirm_no = gtk_button_new_with_mnemonic (_("No")); | 1975 xs_confirm_no = gtk_button_new_with_mnemonic (_("No")); |
1976 gtk_widget_set_name (xs_confirm_no, "xs_confirm_no"); | |
1772 gtk_widget_show (xs_confirm_no); | 1977 gtk_widget_show (xs_confirm_no); |
1773 gtk_container_add (GTK_CONTAINER (hbuttonbox2), xs_confirm_no); | 1978 gtk_container_add (GTK_CONTAINER (hbuttonbox2), xs_confirm_no); |
1774 GTK_WIDGET_SET_FLAGS (xs_confirm_no, GTK_CAN_DEFAULT); | 1979 GTK_WIDGET_SET_FLAGS (xs_confirm_no, GTK_CAN_DEFAULT); |
1775 | 1980 |
1776 g_signal_connect ((gpointer) xs_confirmwin, "delete_event", | 1981 g_signal_connect ((gpointer) xs_confirmwin, "delete_event", |