diff src/audacious/ui_preferences.c @ 3917:b5ee3a4a8e3b

libaudclient: - audacious_remote_toggle_about_box, audacious_remote_toggle_jtf_box, audacious_remote_toggle_prefs_box, audacious_remote_toggle_filebrowser, audacious_remote_eq_activate have been added. audtool: - argument parser has been improved. - command to show filebrowser has been added. - command to activate/deactivate equalizer has been added. - now each command to show aboutbox, prefswin, jtf and filebrowser is capable of change visibility. - now playlist_clear stops playback first. - normalize names of some commands. core: - enhance some dbus functions to support visibility control. - add some functions to hide dialogs.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 08 Nov 2007 22:16:50 +0900
parents de26ea4a42fc
children ba5af8e85857
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c	Thu Nov 08 00:13:00 2007 +0900
+++ b/src/audacious/ui_preferences.c	Thu Nov 08 22:16:50 2007 +0900
@@ -2182,6 +2182,13 @@
     }
 }
 
+void
+hide_prefs_window(void)
+{
+    g_return_if_fail(prefswin);
+    gtk_widget_hide(GTK_WIDGET(prefswin));
+}
+
 static void
 prefswin_page_queue_new(GtkWidget *container, gchar *name, gchar *imgurl)
 {