[gnumeric] tools: repair bitrot.



commit e8d1e86a154edc028ffe75869aacf97348877102
Author: Morten Welinder <terra gnome org>
Date:   Wed Sep 10 08:36:03 2014 -0400

    tools: repair bitrot.
    
    The way enumerations are saving in glade files has changed.  Glade now
    stores the shorter nick.

 tools/ChangeLog           |    4 ++++
 tools/check-glade-visible |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/tools/ChangeLog b/tools/ChangeLog
index c1448ff..f105fda 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-10  Morten Welinder  <terra gnome org>
+
+       * check-glade-visible: Repair bitrot.
+
 2014-06-09  Morten Welinder <terra gnome org>
 
        * Release 1.12.17
diff --git a/tools/check-glade-visible b/tools/check-glade-visible
index 54587fa..ed23427 100755
--- a/tools/check-glade-visible
+++ b/tools/check-glade-visible
@@ -56,20 +56,20 @@ FILE:
            chomp;
            last if m|^/dev/null:|;
            if (!/:0$/) {
-               print STDERR "File `$filename' sets the visible property to True.\n";
+               print STDERR "File `$filename' sets the visible property to \"True\".\n";
                $exitcode = 1;
                next FILE;
            }
        }
        close (*GREP);
 
-       open (*GREP, "grep -c '^ *<property name=\"type_hint\">GDK_WINDOW_TYPE_HINT_NORMAL</property>' 
'$filename' /dev/null 2>/dev/null |")
+       open (*GREP, "grep -c '^ *<property name=\"type_hint\">normal</property>' '$filename' /dev/null 
2>/dev/null |")
            or die "$0: cannot execute grep: $!\n";
        while (<GREP>) {
            chomp;
            last if m|^/dev/null:|;
            if (!/:0$/) {
-               print STDERR "File `$filename' sets the type_hint property to GDK_WINDOW_TYPE_HINT_NORMAL.\n";
+               print STDERR "File `$filename' sets the type_hint property to \"normal\".\n";
                $exitcode = 1;
                next FILE;
            }


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