Merge color scheme before sending notification.

2007-07-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c (apply_queued_setting): Merge color
        scheme before sending notification.



svn path=/trunk/; revision=18504
This commit is contained in:
Matthias Clasen 2007-07-19 15:32:04 +00:00 committed by Matthias Clasen
parent a8442c5d01
commit e1926de86a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-07-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (apply_queued_setting): Merge color
scheme before sending notification.
2007-07-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):

View File

@ -1085,6 +1085,9 @@ apply_queued_setting (GtkSettings *data,
if (_gtk_settings_parse_convert (parser, &qvalue->public.value,
pspec, &tmp_value))
{
if (pspec->param_id == PROP_COLOR_SCHEME)
merge_color_scheme (data, &tmp_value, qvalue->source);
if (data->property_values[pspec->param_id - 1].source <= qvalue->source)
{
g_value_copy (&tmp_value, &data->property_values[pspec->param_id - 1].value);
@ -1092,8 +1095,6 @@ apply_queued_setting (GtkSettings *data,
g_object_notify (G_OBJECT (data), g_param_spec_get_name (pspec));
}
if (pspec->param_id == PROP_COLOR_SCHEME)
merge_color_scheme (data, &tmp_value, qvalue->source);
}
else
{