[pygobject] Convert Gtk.CellRendererState in the pygi-convert script
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Convert Gtk.CellRendererState in the pygi-convert script
- Date: Wed, 15 Aug 2012 10:25:24 +0000 (UTC)
commit c8424c2bb19356679e250e73542682dd5f4c74a5
Author: Manuel QuiÃones <manuq laptop org>
Date: Fri Aug 10 09:38:24 2012 -0300
Convert Gtk.CellRendererState in the pygi-convert script
Signed-off-by: Manuel QuiÃones <manuq laptop org>
https://bugzilla.gnome.org/show_bug.cgi?id=681596
pygi-convert.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index fe82ca9..35b3e11 100755
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -25,6 +25,11 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Gtk.BUTTONBOX_/Gtk.ButtonBoxStyle./g;" \
-pe "s/Gtk.BUTTONS_/Gtk.ButtonsType./g;" \
-pe "s/Gtk.CELL_RENDERER_MODE_/Gtk.CellRendererMode./g;" \
+ -pe "s/Gtk.CELL_RENDERER_FOCUSED/Gtk.CellRendererState.FOCUSED/g;" \
+ -pe "s/Gtk.CELL_RENDERER_INSENSITIVE/Gtk.CellRendererState.INSENSITIVE/g;" \
+ -pe "s/Gtk.CELL_RENDERER_PRELIT/Gtk.CellRendererState.PRELIT/g;" \
+ -pe "s/Gtk.CELL_RENDERER_SORTED/Gtk.CellRendererState.SORTED/g;" \
+ -pe "s/Gtk.CELL_RENDERER_SELECTED/Gtk.CellRendererState.SELECTED/g;" \
-pe "s/Gtk.CORNER_/Gtk.CornerType./g;" \
-pe "s/Gtk.DIALOG_/Gtk.DialogFlags./g;" \
-pe "s/Gtk.ENTRY_ICON_/Gtk.EntryIconPosition./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]