diff src/xs_config.c @ 147:a7abcda7a86c

SLDB, STIL and emulation engine settings are now updated after properties have been changed, no need to restart XMMS anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 06 Mar 2004 18:40:02 +0000
parents 7327a985aee8
children 02bbce56d6b0
line wrap: on
line diff
--- a/src/xs_config.c	Sat Mar 06 18:39:00 2004 +0000
+++ b/src/xs_config.c	Sat Mar 06 18:40:02 2004 +0000
@@ -435,14 +435,16 @@
 	}
 	}
 
+ /* Close window */
+ gtk_widget_destroy(xs_configwin);
+ xs_configwin = NULL;
+
+
  /* Write settings */
  xs_write_configuration();
 
-/* NOTICE/FIXME FIX ME: if songlendb or stildb settings changed, we need to flush and reread them */
-
- /* Close window */
- gtk_widget_destroy(xs_configwin);
- xs_configwin = NULL;
+ /* Re-initialize */
+ xs_reinit();
 }
 
 
@@ -659,6 +661,7 @@
  /* Other UI options */ 
 #ifndef HAVE_XMMSEXTRA
  gtk_widget_set_sensitive(LUW("cfg_ftitle_override"), FALSE);
+ xs_cfg.titleOverride = TRUE;
 #endif
 
 #ifndef HAVE_SONG_POSITION