[totem] chapters: Fix switching to the chapters sidebar



commit f089ef9eb675d59968688224935adfef118cc6ca
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 9 18:51:27 2011 +0100

    chapters: Fix switching to the chapters sidebar
    
    The widget needs to be shown, otherwise GtkNotebook
    will refuse to switch to that page.

 src/plugins/chapters/totem-chapters.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/chapters/totem-chapters.c b/src/plugins/chapters/totem-chapters.c
index 1b5a9d7..e71c8c7 100644
--- a/src/plugins/chapters/totem-chapters.c
+++ b/src/plugins/chapters/totem-chapters.c
@@ -1131,6 +1131,7 @@ impl_activate (PeasActivatable *plugin)
 	main_box = gtk_vbox_new (FALSE, 6);
 	gtk_box_pack_start (GTK_BOX (main_box), cplugin->priv->list_box, TRUE, TRUE, 0);
 	gtk_box_pack_start (GTK_BOX (main_box), cplugin->priv->load_box, TRUE, TRUE, 0);
+	gtk_widget_show_all (main_box);
 
 	set_no_data_visible (TRUE, FALSE, cplugin);
 



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