mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
6de5b2ae5e
- Added a patch to control window to display when an nsf song is played and change 'Fadeout' option to 'Silence Until Next Song' [1] - Cleanup - Bump PORTREVISION Obtained from: gentoo
21 lines
925 B
C
21 lines
925 B
C
--- ./src/xmms/callbacks.c.orig Sun Jul 23 12:06:43 2000
|
|
+++ ./src/xmms/callbacks.c Wed Jan 10 20:10:34 2007
|
|
@@ -219,7 +219,7 @@
|
|
widget = lookup_widget(GTK_WIDGET(button), "spinbutton1");
|
|
nsf_cfg.play_time = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
|
|
widget = lookup_widget(GTK_WIDGET(button), "spinbutton2");
|
|
- nsf_cfg.fadeout_time = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
|
|
+ nsf_cfg.silence_time = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
|
|
|
|
filename = g_strconcat(g_get_home_dir(), "/.xmms/config", NULL);
|
|
cfg = xmms_cfg_open_file(filename);
|
|
@@ -228,7 +228,7 @@
|
|
}
|
|
|
|
xmms_cfg_write_int(cfg, "NSF", "play_time",nsf_cfg.play_time);
|
|
- xmms_cfg_write_int(cfg, "NSF", "fadeout_time",nsf_cfg.fadeout_time);
|
|
+ xmms_cfg_write_int(cfg, "NSF", "silence_time",nsf_cfg.silence_time);
|
|
xmms_cfg_write_file(cfg, filename);
|
|
xmms_cfg_free(cfg);
|
|
g_free(filename);
|