+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
+Mon Nov 25 17:10:54 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtksettings.c (gtk_settings_set_property_value):
+ Fix missing adjustments for new type of
+ gtk_settings_set_property_value_internal(). (#99436,
+ Iain Holmes.)
+
+ * gtk/gtksettings.c (apply_queued_setting): Set the
+ source _after_ we call g_object_set_property, or otherwise
+ we get the APPLICATION source from our setter
+ implemenatation.
+
2002-11-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (print_event_state,
g_value_type_transformable (G_TYPE_STRING, G_VALUE_TYPE (value)) ||
g_value_type_transformable (GDK_TYPE_COLOR, G_VALUE_TYPE (value)))
{
- if (settings->property_values[property_id - 1].source == GTK_SETTINGS_SOURCE_APPLICATION)
+ if (settings->property_values[property_id - 1].source == GTK_SETTINGS_SOURCE_APPLICATION ||
+ !gdk_screen_get_setting (settings->screen, pspec->name, value))
g_value_copy (&settings->property_values[property_id - 1].value, value);
- else if (gdk_screen_get_setting (settings->screen, pspec->name, value))
- g_param_value_validate (pspec, value);
else
- g_value_copy (&settings->property_values[property_id - 1].value, value);
+ g_param_value_validate (pspec, value);
}
else
{
if (_gtk_settings_parse_convert (parser, &qvalue->public.value,
pspec, &tmp_value))
{
- data->property_values[pspec->param_id - 1].source = qvalue->source;
g_object_set_property (G_OBJECT (data), pspec->name, &tmp_value);
+ data->property_values[pspec->param_id - 1].source = qvalue->source;
}
else
{
g_return_if_fail (new_value != NULL);
g_return_if_fail (new_value->origin != NULL);
- gtk_settings_set_property_value_internal (settings, prop_name, new_value, FALSE);
+ gtk_settings_set_property_value_internal (settings, prop_name, new_value,
+ GTK_SETTINGS_SOURCE_APPLICATION);
}
void
g_return_if_fail (new_value != NULL);
g_return_if_fail (new_value->origin != NULL);
- gtk_settings_set_property_value_internal (settings, prop_name, new_value, TRUE);
+ gtk_settings_set_property_value_internal (settings, prop_name, new_value,
+ GTK_SETTINGS_SOURCE_RC_FILE);
}
void