changeset 1609:fb2ac7c9e096 trunk

[svn] - comment out some gtk_window_set_transient_for() which hide mainwin unexpectedly.
author yaz
date Tue, 29 Aug 2006 23:15:43 -0700
parents dcd9936d506a
children 5119f2123bcf
files ChangeLog audacious/equalizer.c audacious/prefswin.c
diffstat 3 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Aug 29 19:55:37 2006 -0700
+++ b/ChangeLog	Tue Aug 29 23:15:43 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-30 02:55:37 +0000  George Averill <nhjm449@gmail.com>
+  revision [2147]
+  - Add ability to show/hide main player window.
+  
+
+  Changes:        Modified:
+  +9 -0           trunk/audacious/mainwin.c  
+
+
 2006-08-29 18:35:30 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2145]
   - prevents input_check_file() working on loading playlist.
--- a/audacious/equalizer.c	Tue Aug 29 19:55:37 2006 -0700
+++ b/audacious/equalizer.c	Tue Aug 29 23:15:43 2006 -0700
@@ -754,8 +754,9 @@
                                                  GTK_WINDOW(equalizerwin),
                                                  cfg.show_wm_decorations);
 
-    gtk_window_set_transient_for(GTK_WINDOW(equalizerwin),
-                                 GTK_WINDOW(mainwin));
+    /* this will hide only mainwin. it's annoying! yaz */
+//    gtk_window_set_transient_for(GTK_WINDOW(equalizerwin),
+//                                 GTK_WINDOW(mainwin));
     gtk_window_set_skip_taskbar_hint(GTK_WINDOW(equalizerwin), TRUE);
 
     icon = gdk_pixbuf_new_from_xpm_data((const gchar **) bmp_eq_icon);
--- a/audacious/prefswin.c	Tue Aug 29 19:55:37 2006 -0700
+++ b/audacious/prefswin.c	Tue Aug 29 23:15:43 2006 -0700
@@ -2208,7 +2208,8 @@
 
     prefswin = glade_xml_get_widget(xml, "prefswin");
     g_object_set_data(G_OBJECT(prefswin), "glade-xml", xml);
-    gtk_window_set_transient_for(GTK_WINDOW(prefswin), GTK_WINDOW(mainwin));
+    /* this will hide only mainwin. it's annoying! yaz */
+//    gtk_window_set_transient_for(GTK_WINDOW(prefswin), GTK_WINDOW(mainwin));
 
     /* create category view */
     widget = glade_xml_get_widget(xml, "category_view");