Make action-id in MenuItem be object, not int.

This commit is contained in:
Tomeu Vizoso 2007-03-04 19:49:03 +01:00
parent a585221b16
commit 4b1ca7056e
2 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,7 @@ class MenuItem(hippo.CanvasBox):
__gtype_name__ = 'SugarMenuItem'
__gproperties__ = {
'action-id': (int, None, None,
0, sys.maxint, 0,
'action-id': (object, None, None,
gobject.PARAM_READWRITE),
'label' : (str, None, None, None,
gobject.PARAM_READWRITE)

View File

@ -50,7 +50,8 @@ class OptionMenu(hippo.CanvasBox, hippo.CanvasItem):
__gtype_name__ = 'SugarOptionMenu'
__gproperties__ = {
'value' : (int, None, None, 0, sys.maxint, 1, gobject.PARAM_READWRITE)
'value' : (object, None, None,
gobject.PARAM_READWRITE)
}
__gsignals__ = {