don't overwrite application properties. Fixes bug #136802.

2004-03-11  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtksettings.c: (apply_queued_setting): don't overwrite
        application properties. Fixes bug #136802.
This commit is contained in:
Mark McLoughlin 2004-03-11 17:54:19 +00:00 committed by Mark McLoughlin
parent a1707142b8
commit a4ab0dd44c
6 changed files with 30 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-03-11 Mark McLoughlin <mark@skynet.ie>
* gtk/gtksettings.c: (apply_queued_setting): don't overwrite
application properties. Fixes bug #136802.
2004-03-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
* gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added

View File

@ -1,3 +1,8 @@
2004-03-11 Mark McLoughlin <mark@skynet.ie>
* gtk/gtksettings.c: (apply_queued_setting): don't overwrite
application properties. Fixes bug #136802.
2004-03-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
* gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added

View File

@ -1,3 +1,8 @@
2004-03-11 Mark McLoughlin <mark@skynet.ie>
* gtk/gtksettings.c: (apply_queued_setting): don't overwrite
application properties. Fixes bug #136802.
2004-03-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
* gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added

View File

@ -1,3 +1,8 @@
2004-03-11 Mark McLoughlin <mark@skynet.ie>
* gtk/gtksettings.c: (apply_queued_setting): don't overwrite
application properties. Fixes bug #136802.
2004-03-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
* gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added

View File

@ -1,3 +1,8 @@
2004-03-11 Mark McLoughlin <mark@skynet.ie>
* gtk/gtksettings.c: (apply_queued_setting): don't overwrite
application properties. Fixes bug #136802.
2004-03-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
* gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added

View File

@ -684,8 +684,11 @@ apply_queued_setting (GtkSettings *data,
if (_gtk_settings_parse_convert (parser, &qvalue->public.value,
pspec, &tmp_value))
{
g_object_set_property (G_OBJECT (data), pspec->name, &tmp_value);
data->property_values[pspec->param_id - 1].source = qvalue->source;
if (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
{