Use the right param for properties

This commit is contained in:
Cédric Krier committed 2008-12-08 00:44:15 +01:00
1 parent e11be46078
commit c2da4a6d09
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -9,9 +9,9 @@ class CellRendererDate(gtk.GenericCellRenderer):
'text': (gobject.TYPE_STRING, None, 'Text',
'Text', gobject.PARAM_READWRITE),
'foreground': (gobject.TYPE_STRING, None, 'Foreground',
'Foreground', gobject.PARAM_READWRITE),
'Foreground', gobject.PARAM_WRITABLE),
'background': (gobject.TYPE_STRING, None, 'Background',
'Background', gobject.PARAM_READWRITE),
'Background', gobject.PARAM_WRITABLE),
'editable': (gobject.TYPE_INT, 'Editable',
'Editable', 0, 10, 0, gobject.PARAM_READWRITE),
}
+2 -2
View File
@@ -9,9 +9,9 @@ class CellRendererText(gtk.GenericCellRenderer):
'text': (gobject.TYPE_STRING, None, 'Text',
'Text', gobject.PARAM_READWRITE),
'foreground': (gobject.TYPE_STRING, None, 'Foreground',
'Foreground', gobject.PARAM_READWRITE),
'Foreground', gobject.PARAM_WRITABLE),
'background': (gobject.TYPE_STRING, None, 'Background',
'Background', gobject.PARAM_READWRITE),
'Background', gobject.PARAM_WRITABLE),
'editable': (gobject.TYPE_INT, 'Editable',
'Editable', 0, 10, 0, gobject.PARAM_READWRITE),
'xalign': (gobject.TYPE_FLOAT, 'XAlign',