[totem] main: Add debug code for the playlist widget



commit a11c0b8a8bd797e84e4787f9b68dff86b1c4ee2b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 14 16:36:20 2014 +0100

    main: Add debug code for the playlist widget

 src/totem-object.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 7559787..4a998c6 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3784,8 +3784,15 @@ playlist_widget_setup (TotemObject *totem)
        if (totem->playlist == NULL)
                totem_object_exit (totem);
 
-       gtk_widget_show_all (GTK_WIDGET (totem->playlist));
+#if 0
+       {
+               GtkWidget *window;
 
+               window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+               gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (totem->playlist));
+               gtk_widget_show_all (window);
+       }
+#endif
        g_signal_connect (G_OBJECT (totem->playlist), "active-name-changed",
                          G_CALLBACK (on_playlist_change_name), totem);
        g_signal_connect (G_OBJECT (totem->playlist), "item-activated",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]