[glade3] * gladeui/glade-editor.c: Make the editor notebook scrollable.



commit 323e0ba9aabdf317dc90195ec44fcda430a6641a
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Jan 5 20:38:13 2011 +0900

    	* gladeui/glade-editor.c: Make the editor notebook scrollable.

 ChangeLog              |    2 ++
 gladeui/glade-editor.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8d78f8c..a79aabc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@
 
 	Glade core api now officially sealed and ABI stable.
 
+	* gladeui/glade-editor.c: Make the editor notebook scrollable.
+
 2011-01-04  Johannes Schmid <jhs gnome org>
 
 	* data/gladeui-2.0.pc.in: Fix include paths and library name
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c
index 34c2470..429d205 100644
--- a/gladeui/glade-editor.c
+++ b/gladeui/glade-editor.c
@@ -439,6 +439,8 @@ glade_editor_init (GladeEditor * editor)
 
   gtk_container_set_border_width (GTK_CONTAINER (editor->priv->notebook), 0);
 
+  gtk_notebook_set_scrollable (GTK_NOTEBOOK (editor->priv->notebook), TRUE);
+
   gtk_box_pack_start (GTK_BOX (editor), editor->priv->class_field, FALSE, FALSE, 0);
   gtk_box_pack_start (GTK_BOX (editor), editor->priv->notebook, TRUE, TRUE, 0);
 



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