[glade] Set GladeEditor:show-class-field runtime default to be the same as the proeprty default Fixes bug th



commit 7b0573899b52735b141f9d492068c050667cd770
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Wed May 22 15:55:50 2013 -0300

    Set GladeEditor:show-class-field runtime default to be the same as the proeprty default
    Fixes bug that made glade_editor_hide_class_field() do not work the first time it was called.

 gladeui/glade-editor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c
index 857da98..6b0e198 100644
--- a/gladeui/glade-editor.c
+++ b/gladeui/glade-editor.c
@@ -375,6 +375,8 @@ glade_editor_init (GladeEditor *editor)
 
   editor->priv = priv = GLADE_EDITOR_GET_PRIVATE (editor);
 
+  priv->show_class_field = TRUE;
+
   gtk_widget_init_template (GTK_WIDGET (editor));
 
   gtk_icon_size_lookup (GTK_ICON_SIZE_BUTTON, NULL, &icon_height);


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