[pygobject] pygi-convert.sh: convert Gdk.ScrollDirection.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: convert Gdk.ScrollDirection.
- Date: Sat, 11 Dec 2010 22:04:07 +0000 (UTC)
commit 365bf3251af3498dc797a58cce071805451b49b1
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Dec 11 23:05:31 2010 +0100
pygi-convert.sh: convert Gdk.ScrollDirection.
pygi-convert.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index ef1368f..5a4d5ae 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -96,6 +96,7 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Gdk.([A-Z_0-9]*)_MASK/Gdk.EventMask.\1_MASK/g;" \
-pe "s/Gdk.VISIBILITY_FULLY_OBSCURED/Gdk.VisibilityState.FULLY_OBSCURED/g;" \
-pe "s/Gdk.BUTTON_PRESS/Gdk.EventType.BUTTON_PRESS/g;" \
+ -pe "s/Gdk.SCROLL_(DOWN|LEFT|RIGHT|UP)/Gdk.ScrollDirection.\1/g;" \
-pe "s/#Gdk.Rectangle\(([^,\)]*), ([^,\)]*), ([^,\)]*), ([^,\)]*)\)/\1, \2, \3, \4/g;" \
-pe "s/Gdk.Rectangle//g;" \
-pe "s/intersection = child_rect.intersect/intersects_, intersection = child_rect.intersect/g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]