Enforce generated ident string if Custom was not chosen

This solves the ident string not being updated when Midori is
upgraded and running with existing configuration files.
This commit is contained in:
Christian Dywan 2009-06-12 23:17:34 +02:00
parent c474363de2
commit 52f45952cf

View file

@ -1292,6 +1292,7 @@ midori_web_settings_set_property (GObject* object,
}
break;
case PROP_IDENT_STRING:
if (web_settings->identify_as == MIDORI_IDENT_CUSTOM)
katze_assign (web_settings->ident_string, g_value_dup_string (value));
break;
case PROP_CACHE_SIZE: