summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-05-22 15:55:50 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-06-06 16:04:36 -0300
commit7b0573899b52735b141f9d492068c050667cd770 (patch)
tree8421231bdc1fb09d7f459bf4fcd9c6abe8292329
parent4e3789872d36820316ba244fd5cfc5cfa5385ebd (diff)
downloadglade-7b0573899b52735b141f9d492068c050667cd770.tar.gz
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.
-rw-r--r--gladeui/glade-editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c
index 857da984..6b0e1983 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);