[pygobject] Add conversion of the Gdk.NotifyType constants to pygi-convert.sh script
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Add conversion of the Gdk.NotifyType constants to pygi-convert.sh script
- Date: Wed, 11 Jul 2012 14:51:27 +0000 (UTC)
commit 41287d8a439c656e4ac60361fddec643c713234c
Author: Manuel QuiÃones <manuq laptop org>
Date: Wed Jul 11 11:13:38 2012 -0300
Add conversion of the Gdk.NotifyType constants to pygi-convert.sh script
Signed-off-by: Manuel QuiÃones <manuq laptop org>
https://bugzilla.gnome.org/show_bug.cgi?id=679754
pygi-convert.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index f82c59d..2066a0a 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -123,6 +123,12 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Gdk.MODIFIER_MASK/Gdk.ModifierType.MODIFIER_MASK/g;" \
-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.NOTIFY_ANCESTOR/Gdk.NotifyType.ANCESTOR/g;" \
+ -pe "s/Gdk.NOTIFY_INFERIOR/Gdk.NotifyType.INFERIOR/g;" \
+ -pe "s/Gdk.NOTIFY_NONLINEAR_VIRTUAL/Gdk.NotifyType.NONLINEAR_VIRTUAL/g;" \
+ -pe "s/Gdk.NOTIFY_NONLINEAR/Gdk.NotifyType.NONLINEAR/g;" \
+ -pe "s/Gdk.NOTIFY_UNKNOWN/Gdk.NotifyType.UNKNOWN/g;" \
+ -pe "s/Gdk.NOTIFY_VIRTUAL/Gdk.NotifyType.VIRTUAL/g;" \
-pe "s/Gdk.BUTTON_PRESS/Gdk.EventType.BUTTON_PRESS/g;" \
-pe "s/Gdk.ACTION_/Gdk.DragAction./g;" \
-pe "s/Gdk.GRAB_/Gdk.GrabStatus./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]