[goffice] Show the widgets in the text style page. They had somehow disappeared.



commit 67ffb5a88547246476d006be7d0d2aa7a82ec38f
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Mar 4 15:37:38 2013 +0100

    Show the widgets in the text style page. They had somehow disappeared.

 ChangeLog                |    4 ++++
 goffice/utils/go-style.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d5a65e6..ae1b461 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-04  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/utils/go-style.c (text_layout_init): show the widget.
+
 2013-03-03  Morten Welinder  <terra gnome org>
 
        * goffice/gtk/go-combo-pixmaps.c (go_menu_pixmaps_add_element):
diff --git a/goffice/utils/go-style.c b/goffice/utils/go-style.c
index e6d73a5..65bce82 100644
--- a/goffice/utils/go-style.c
+++ b/goffice/utils/go-style.c
@@ -966,6 +966,7 @@ text_layout_init (StylePrefState *state, guint32 enable, GOEditor *editor, GOCmd
        box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
        gtk_box_pack_start (GTK_BOX (box), w, TRUE, TRUE, 0);
        gtk_container_set_border_width (GTK_CONTAINER (box), 12);
+       gtk_widget_show_all (box);
        go_editor_add_page (editor, box, _("Text"));
 }
 


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