[glade] * gladeui/glade-property-class.c: When a property is disabled, mark it explicitly as query=FALSE



commit a7c53b578e7f9bccfcceb0b5ad47c2f4c7e3db8d
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Mar 1 14:24:31 2011 +0900

    	* gladeui/glade-property-class.c: When a property is disabled, mark it explicitly
    	  as query=FALSE (avoid the query dialog).

 ChangeLog                      |    5 +++++
 gladeui/glade-property-class.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 34c0f91..98ed9e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-01  Tristan Van Berkom <tristanvb openismus com>
+
+	* gladeui/glade-property-class.c: When a property is disabled, mark it explicitly
+	  as query=FALSE (avoid the query dialog).
+
 2010-02-28 Marco Diego Aurélio Mesquita <marcodiegomesquita gmail com>
 
 	* gladeui/glade-previewer.c:
diff --git a/gladeui/glade-property-class.c b/gladeui/glade-property-class.c
index 57a8664..9146e65 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]