changeset 1180:4f232f256771 trunk

[svn] - fix page display bug
author nenolod
date Sun, 11 Jun 2006 21:36:11 -0700
parents 1eef4fd1aeb5
children a9ecbf4443d3
files ChangeLog audacious/prefswin.c
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jun 11 20:33:45 2006 -0700
+++ b/ChangeLog	Sun Jun 11 21:36:11 2006 -0700
@@ -1,3 +1,13 @@
+2006-06-12 03:33:45 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1268]
+  - make the scrobbler preferences appear in the main window; this does not work yet because I need to debug apparently!
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/General/scrobbler/Makefile.in  
+  +5 -2           trunk/Plugins/General/scrobbler/xmms_scrobbler.c  
+
+
 2006-06-12 03:33:14 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1266]
   - oops
--- a/audacious/prefswin.c	Sun Jun 11 20:33:45 2006 -0700
+++ b/audacious/prefswin.c	Sun Jun 11 21:36:11 2006 -0700
@@ -2078,6 +2078,7 @@
                            G_CALLBACK(on_category_view_realize),
                            widget2);
 
+    category_treeview = GTK_WIDGET(widget);
     category_notebook = GTK_WIDGET(widget2);
 
     /* plugin->input page */
@@ -2267,6 +2268,8 @@
 
    gtk_label_set_markup( GTK_LABEL(widget) , aud_version_string->str );
    g_string_free( aud_version_string , TRUE );
+
+   gtk_widget_realize(prefswin);
 }
 
 void
@@ -2297,13 +2300,14 @@
     gint id;
 
     if (treeview == NULL || container == NULL || category_notebook == NULL)
-	return FALSE;
+        return FALSE;
 
     model = gtk_tree_view_get_model(treeview);
 
     if (model == NULL)
         return FALSE;
 
+    gtk_widget_show(container);
     id = gtk_notebook_append_page(GTK_NOTEBOOK(category_notebook), container, NULL);
 
     if (id == -1)