summaryrefslogtreecommitdiff
path: root/gladeui/glade-property-class.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-03-01 14:24:31 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2011-03-01 15:27:22 +0900
commita7c53b578e7f9bccfcceb0b5ad47c2f4c7e3db8d (patch)
treea65dac09230f004a2ee5367d9a28618c1b9e5fc8 /gladeui/glade-property-class.c
parent3be0a5930503f0a6c21aef1d6a718b017e936a93 (diff)
downloadglade-a7c53b578e7f9bccfcceb0b5ad47c2f4c7e3db8d.tar.gz
* gladeui/glade-property-class.c: When a property is disabled, mark it explicitly
as query=FALSE (avoid the query dialog).
Diffstat (limited to 'gladeui/glade-property-class.c')
-rw-r--r--gladeui/glade-property-class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gladeui/glade-property-class.c b/gladeui/glade-property-class.c
index 57a8664f..9146e659 100644
--- a/gladeui/glade-property-class.c
+++ b/gladeui/glade-property-class.c
@@ -1900,6 +1900,7 @@ glade_property_class_update_from_node (GladeXmlNode * node,
{
/* Its easier for us to keep disabled properties around and
* only virtually disable them */
+ klass->query = FALSE;
klass->ignore = TRUE;
klass->save = FALSE;
klass->visible = FALSE;