[pygobject] pygi-convert.sh: convert Atk
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: convert Atk
- Date: Sun, 12 Dec 2010 23:00:32 +0000 (UTC)
commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Dec 13 00:01:40 2010 +0100
pygi-convert.sh: convert Atk
pygi-convert.sh | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 365f019..760e03d 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -107,6 +107,18 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Pango.UNDERLINE_/Pango.Underline./g;" \
-pe "s/Pango.WEIGHT_/Pango.Weight./g;" \
\
+ -pe "s/import atk\n/from gi.repository import Atk\n/g;" \
+ -pe "s/atk\./Atk\./g;" \
+ -pe "s/Atk.HYPERLINK_/Atk.HyperlinkStateFlags./g;" \
+ -pe "s/Atk.KEY_EVENT_/Atk.KeyEventType./g;" \
+ -pe "s/Atk.LAYER_/Atk.Layer./g;" \
+ -pe "s/Atk.RELATION_/Atk.RelationType./g;" \
+ -pe "s/Atk.ROLE_/Atk.Role./g;" \
+ -pe "s/Atk.STATE_/Atk.StateType./g;" \
+ -pe "s/Atk.TEXT_ATTR_/Atk.TextAttribute./g;" \
+ -pe "s/Atk.TEXT_BOUNDARY_/Atk.TextBoundary./g;" \
+ -pe "s/Atk.TEXT_CLIP_/Atk.TextClipType./g;" \
+\
-pe "s/import gio\n/from gi.repository import Gio\n/g;" \
-pe "s/gio\./Gio\./g;" \
-pe "s/Gio.FILE_COPY_/Gio.FileCopyFlags./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]