[pygobject] Convert gtk.TRUE/FALSE to Python True/False.



commit e1c71092af6e2cffa36248519adfceac1874051d
Author: Marcin Owsiany <marcin owsiany pl>
Date:   Wed Aug 31 09:43:28 2011 +0100

    Convert gtk.TRUE/FALSE to Python True/False.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657785

 pygi-convert.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 03e9891..b1b00c8 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -29,6 +29,7 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gtk.DIALOG_/Gtk.DialogFlags./g;" \
     -pe "s/Gtk.ENTRY_ICON_/Gtk.EntryIconPosition./g;" \
     -pe "s/Gtk.EXPAND/Gtk.AttachOptions.EXPAND/g;" \
+    -pe "s/Gtk.FALSE/False/g;" \
     -pe "s/Gtk.FILE_CHOOSER_ACTION_/Gtk.FileChooserAction./g;" \
     -pe "s/Gtk.FILL/Gtk.AttachOptions.FILL/g;" \
     -pe "s/Gtk.ICON_LOOKUP_/Gtk.IconLookupFlags./g;" \
@@ -54,6 +55,7 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gtk.TEXT_WINDOW_/Gtk.TextWindowType./g;" \
     -pe "s/Gtk.TREE_VIEW_COLUMN_/Gtk.TreeViewColumnSizing./g;" \
     -pe "s/Gtk.TREE_VIEW_DROP_/Gtk.TreeViewDropPosition./g;" \
+    -pe "s/Gtk.TRUE/True/g;" \
     -pe "s/Gtk.WINDOW_/Gtk.WindowType./g;" \
     -pe "s/Gtk.WIN_POS_/Gtk.WindowPosition./g;" \
     -pe "s/Gtk.WRAP_/Gtk.WrapMode./g;" \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]