[pygobject] Convert all Gdk.WindowState constants in pygi-convert.sh
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Convert all Gdk.WindowState constants in pygi-convert.sh
- Date: Fri, 20 Jul 2012 03:34:23 +0000 (UTC)
commit d58c3553062fd8704a81a8233b4a1563a6611718
Author: Manuel QuiÃones <manuq laptop org>
Date: Thu Jul 19 12:04:03 2012 -0300
Convert all Gdk.WindowState constants in pygi-convert.sh
Signed-off-by: Manuel QuiÃones <manuq laptop org>
https://bugzilla.gnome.org/show_bug.cgi?id=680257
pygi-convert.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 4c3da7b..1d1b8a6 100755
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -147,6 +147,7 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Gdk.(WATCH)/Gdk.CursorType.\1/g;" \
-pe "s/Gdk.(ARROW)/Gdk.CursorType.\1/g;" \
-pe "s/Gdk.(CLOCK)/Gdk.CursorType.\1/g;" \
+ -pe "s/Gdk.WINDOW_STATE_(ABOVE|BELOW|FOCUSED|FULLSCREEN|ICONIFIED|MAXIMIZED|STICKY|WITHDRAWN)/Gdk.WindowState.\1/g;" \
-pe "s/Gdk.Cursor\s*\(/Gdk.Cursor.new\(/g;" \
-pe "s/#Gdk.Rectangle\(([^,\)]*), ([^,\)]*), ([^,\)]*), ([^,\)]*)\)/\1, \2, \3, \4/g;" \
-pe "s/Gdk.Rectangle//g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]