[pygobject] pygi-convert.sh: Add some missing Gdk.CursorTypes



commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
Author: Manuel QuiÃones <manuq laptop org>
Date:   Mon Jul 16 17:14:46 2012 -0300

    pygi-convert.sh: Add some missing Gdk.CursorTypes
    
    This patch adds WATCH, ARROW and CLOCK.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680050
    
    Signed-off-by: Manuel QuiÃones <manuq laptop org>
    Signed-off-by: Martin Pitt <martinpitt gnome org>

 pygi-convert.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
old mode 100644
new mode 100755
index a189b77..4c3da7b
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -144,6 +144,9 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gdk.SCROLL_(DOWN|LEFT|RIGHT|UP)/Gdk.ScrollDirection.\1/g;" \
     -pe "s/Gdk.([A-Z]+_(PTR|CURSOR))/Gdk.CursorType.\1/g;" \
     -pe "s/Gdk.(CROSSHAIR)/Gdk.CursorType.\1/g;" \
+    -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.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]