gnumeric r17270 - trunk/tools
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17270 - trunk/tools
- Date: Wed, 1 Apr 2009 01:24:10 +0000 (UTC)
Author: mortenw
Date: Wed Apr 1 01:24:10 2009
New Revision: 17270
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17270&view=rev
Log:
2009-03-31 Morten Welinder <terra gnome org>
* check-glade-visible: Check for type_hint
GDK_WINDOW_TYPE_HINT_NORMAL too.
Modified:
trunk/tools/ChangeLog
trunk/tools/check-glade-visible
Modified: trunk/tools/check-glade-visible
==============================================================================
--- trunk/tools/check-glade-visible (original)
+++ trunk/tools/check-glade-visible Wed Apr 1 01:24:10 2009
@@ -62,6 +62,20 @@
}
}
close (*GREP);
+
+ open (*GREP, "grep -c '^ *<property name=\"type_hint\">GDK_WINDOW_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";
+ $exitcode = 1;
+ next FILE;
+ }
+ }
+ close (*GREP);
+
}
exit $exitcode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]