Mercurial > hg > xmms-sid
comparison src/xs_interface.c @ 961:be2a8436461a dev-0_8_99
Add display of second SID chip to titles, and also new custom format tokens
%1 and %2 for first and second SID respectively. The old "%m" now expands to
one or both SID models, depending how many are in use.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Nov 2012 23:00:33 +0200 |
parents | b133f822b91e |
children |
comparison
equal
deleted
inserted
replaced
960:5711abf1ff39 | 961:be2a8436461a |
---|---|
1401 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "w_hbox9", w_hbox9, | 1401 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "w_hbox9", w_hbox9, |
1402 (GtkDestroyNotify) gtk_widget_unref); | 1402 (GtkDestroyNotify) gtk_widget_unref); |
1403 gtk_widget_show (w_hbox9); | 1403 gtk_widget_show (w_hbox9); |
1404 gtk_box_pack_start (GTK_BOX (cfg_ftitle_box), w_hbox9, FALSE, FALSE, 2); | 1404 gtk_box_pack_start (GTK_BOX (cfg_ftitle_box), w_hbox9, FALSE, FALSE, 2); |
1405 | 1405 |
1406 cfg_ftitle_desc1 = gtk_label_new (_("%% - '%' character\n%p - Performer/composer\n%t - Song name (title)\n%c - Copyright\n%s - File type\n%m - SID model")); | 1406 cfg_ftitle_desc1 = gtk_label_new (_("%% - '%' character\n%p - Performer/composer\n%t - Song name (title)\n%c - Copyright\n%s - File type\n%m - SID model (both)\n%1 - Model of SID #1")); |
1407 gtk_widget_set_name (cfg_ftitle_desc1, "cfg_ftitle_desc1"); | 1407 gtk_widget_set_name (cfg_ftitle_desc1, "cfg_ftitle_desc1"); |
1408 gtk_widget_ref (cfg_ftitle_desc1); | 1408 gtk_widget_ref (cfg_ftitle_desc1); |
1409 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "cfg_ftitle_desc1", cfg_ftitle_desc1, | 1409 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "cfg_ftitle_desc1", cfg_ftitle_desc1, |
1410 (GtkDestroyNotify) gtk_widget_unref); | 1410 (GtkDestroyNotify) gtk_widget_unref); |
1411 gtk_widget_show (cfg_ftitle_desc1); | 1411 gtk_widget_show (cfg_ftitle_desc1); |
1412 gtk_box_pack_start (GTK_BOX (w_hbox9), cfg_ftitle_desc1, FALSE, FALSE, 0); | 1412 gtk_box_pack_start (GTK_BOX (w_hbox9), cfg_ftitle_desc1, FALSE, FALSE, 0); |
1413 gtk_label_set_justify (GTK_LABEL (cfg_ftitle_desc1), GTK_JUSTIFY_LEFT); | 1413 gtk_label_set_justify (GTK_LABEL (cfg_ftitle_desc1), GTK_JUSTIFY_LEFT); |
1414 gtk_misc_set_alignment (GTK_MISC (cfg_ftitle_desc1), 0.04, 0.5); | 1414 gtk_misc_set_alignment (GTK_MISC (cfg_ftitle_desc1), 0.04, 0.5); |
1415 | 1415 |
1416 cfg_ftitle_desc2 = gtk_label_new (_("%C - Speed/clock (PAL/NTSC)\n%n - Subtune\n%N - Number of subtunes\n%f - Filename\n%F - File path\n%e - File extension")); | 1416 cfg_ftitle_desc2 = gtk_label_new (_("%C - Speed/clock (PAL/NTSC)\n%n - Subtune\n%N - Number of subtunes\n%f - Filename\n%F - File path\n%e - File extension\n%2 - Model of SID #2")); |
1417 gtk_widget_set_name (cfg_ftitle_desc2, "cfg_ftitle_desc2"); | 1417 gtk_widget_set_name (cfg_ftitle_desc2, "cfg_ftitle_desc2"); |
1418 gtk_widget_ref (cfg_ftitle_desc2); | 1418 gtk_widget_ref (cfg_ftitle_desc2); |
1419 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "cfg_ftitle_desc2", cfg_ftitle_desc2, | 1419 gtk_object_set_data_full (GTK_OBJECT (xs_configwin), "cfg_ftitle_desc2", cfg_ftitle_desc2, |
1420 (GtkDestroyNotify) gtk_widget_unref); | 1420 (GtkDestroyNotify) gtk_widget_unref); |
1421 gtk_widget_show (cfg_ftitle_desc2); | 1421 gtk_widget_show (cfg_ftitle_desc2); |