[pygobject] Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
- Date: Thu, 12 Jul 2012 04:49:16 +0000 (UTC)
commit bb80d124269ee2389c04d03a478475868fd9ff7b
Author: Manuel QuiÃones <manuq laptop org>
Date: Wed Jul 11 22:05:41 2012 -0300
Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
Signed-off-by: Manuel QuiÃones <manuq laptop org>
https://bugzilla.gnome.org/show_bug.cgi?id=679775
pygi-convert.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index de27f8b..55bf977 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -134,6 +134,9 @@ for f in $FILES_TO_CONVERT; do
-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.PROP_MODE_APPEND/Gdk.PropMode.APPEND/g;" \
+ -pe "s/Gdk.PROP_MODE_PREPEND/Gdk.PropMode.PREPEND/g;" \
+ -pe "s/Gdk.PROP_MODE_REPLACE/Gdk.PropMode.REPLACE/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]