diff options
author | Marcin Owsiany <marcin@owsiany.pl> | 2011-08-31 09:43:28 +0100 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2011-09-13 16:41:03 -0400 |
commit | e1c71092af6e2cffa36248519adfceac1874051d (patch) | |
tree | eb8e2c22c13250f40318149593ff41d4fc83d1be | |
parent | 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd (diff) | |
download | pygobject-e1c71092af6e2cffa36248519adfceac1874051d.tar.gz |
Convert gtk.TRUE/FALSE to Python True/False.
https://bugzilla.gnome.org/show_bug.cgi?id=657785
-rw-r--r-- | pygi-convert.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygi-convert.sh b/pygi-convert.sh index 03e98919..b1b00c83 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;" \ |