Commit 13e54135437f283b66133ff87be155a1e382bfd2
1 parent
23c13e5f
Exists in
master
and in
1 other branch
Fixingo "crl-download" property.
Showing
3 changed files
with
5 additions
and
2 deletions
Show diff stats
src/terminal/keyfile.c
@@ -88,6 +88,8 @@ | @@ -88,6 +88,8 @@ | ||
88 | g_value_init(&value, pspec->value_type); | 88 | g_value_init(&value, pspec->value_type); |
89 | g_object_get_property(G_OBJECT(widget),name,&value); | 89 | g_object_get_property(G_OBJECT(widget),name,&value); |
90 | 90 | ||
91 | + debug("%s %u",name,(unsigned int) pspec->value_type); | ||
92 | + | ||
91 | switch(pspec->value_type) { | 93 | switch(pspec->value_type) { |
92 | case G_TYPE_STRING: | 94 | case G_TYPE_STRING: |
93 | { | 95 | { |
@@ -120,7 +122,7 @@ | @@ -120,7 +122,7 @@ | ||
120 | { | 122 | { |
121 | gboolean current = g_value_get_boolean(&value); | 123 | gboolean current = g_value_get_boolean(&value); |
122 | 124 | ||
123 | -// debug("%s=%s (default: %s)",name,current ? "ON" : "OFF" ,G_PARAM_SPEC_BOOLEAN(pspec)->default_value ? "ON" : "OFF"); | 125 | + debug("%s=%s (default: %s)",name,current ? "ON" : "OFF" ,G_PARAM_SPEC_BOOLEAN(pspec)->default_value ? "ON" : "OFF"); |
124 | 126 | ||
125 | if(current != G_PARAM_SPEC_BOOLEAN(pspec)->default_value) | 127 | if(current != G_PARAM_SPEC_BOOLEAN(pspec)->default_value) |
126 | { | 128 | { |
src/terminal/properties/init.c
@@ -314,7 +314,7 @@ | @@ -314,7 +314,7 @@ | ||
314 | bool_props[ix].name, | 314 | bool_props[ix].name, |
315 | bool_props[ix].name, | 315 | bool_props[ix].name, |
316 | bool_props[ix].description, | 316 | bool_props[ix].description, |
317 | - FALSE, | 317 | + bool_props[ix].default_value != 0, |
318 | (bool_props[ix].set == NULL ? G_PARAM_READABLE : (G_PARAM_READABLE|G_PARAM_WRITABLE)) | 318 | (bool_props[ix].set == NULL ? G_PARAM_READABLE : (G_PARAM_READABLE|G_PARAM_WRITABLE)) |
319 | ); | 319 | ); |
320 | 320 |
src/terminal/widget.c
@@ -69,6 +69,7 @@ static const gchar *persistent_properties[] = { | @@ -69,6 +69,7 @@ static const gchar *persistent_properties[] = { | ||
69 | "color-type", | 69 | "color-type", |
70 | "host-type", | 70 | "host-type", |
71 | "crl-preferred-protocol", | 71 | "crl-preferred-protocol", |
72 | + "crl_download", | ||
72 | "remap_file", | 73 | "remap_file", |
73 | "dynamic_font_spacing", | 74 | "dynamic_font_spacing", |
74 | "lu_names", | 75 | "lu_names", |