diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-05-22 15:55:50 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-06-06 16:04:36 -0300 |
commit | 7b0573899b52735b141f9d492068c050667cd770 (patch) | |
tree | 8421231bdc1fb09d7f459bf4fcd9c6abe8292329 | |
parent | 4e3789872d36820316ba244fd5cfc5cfa5385ebd (diff) | |
download | glade-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.c | 2 |
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); |