[totem] chapters: Minor GtkBox fixes in the chapters plugin



commit 3783bfa81fc649d06bd426c7b8ba14abc608a5d2
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Jun 20 18:22:39 2011 +0100

    chapters: Minor GtkBox fixes in the chapters plugin

 src/plugins/chapters/totem-chapters.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/chapters/totem-chapters.c b/src/plugins/chapters/totem-chapters.c
index e71c8c7..dfffc89 100644
--- a/src/plugins/chapters/totem-chapters.c
+++ b/src/plugins/chapters/totem-chapters.c
@@ -1128,7 +1128,8 @@ impl_activate (PeasActivatable *plugin)
 	cplugin->priv->list_box = GTK_WIDGET (gtk_builder_get_object (builder, "main_vbox"));
 	cplugin->priv->load_box = GTK_WIDGET (gtk_builder_get_object (builder, "load_vbox"));
 
-	main_box = gtk_vbox_new (FALSE, 6);
+	main_box = gtk_box_new (FALSE, 6);
+	gtk_orientable_set_orientation (GTK_ORIENTABLE (main_box), GTK_ORIENTATION_VERTICAL);
 	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);



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