[pygobject] pygi-convert: fix for Pango.Alignment
- From: Daniel Drake <dsd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert: fix for Pango.Alignment
- Date: Sun, 30 Oct 2011 09:22:31 +0000 (UTC)
commit 4c1d9f01b8fa6702f73b290180f934250e179caa
Author: Daniel Drake <dsd laptop org>
Date: Sun Oct 30 09:20:45 2011 +0000
pygi-convert: fix for Pango.Alignment
pygi-convert.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 39d7cab..94b66fe 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -131,6 +131,7 @@ for f in $FILES_TO_CONVERT; do
\
-pe "s/import pango\n/from gi.repository import Pango\n/g;" \
-pe "s/pango\./Pango\./g;" \
+ -pe "s/Pango.ALIGN_/Pango.Alignment./g;" \
-pe "s/Pango.ELLIPSIZE_/Pango.EllipsizeMode./g;" \
-pe "s/Pango.STYLE_/Pango.Style./g;" \
-pe "s/Pango.UNDERLINE_/Pango.Underline./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]