diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-04 18:49:03 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-04 18:49:03 (GMT) |
commit | 4b1ca7056e6408e62796ea19f916e9520844e6b0 (patch) | |
tree | cb6c09bf4d072b91826f41384ae9b7ef274bfa6d /sugar/graphics/menu.py | |
parent | a585221b164ef353634afd407af5d330931e36f4 (diff) |
Make action-id in MenuItem be object, not int.
Diffstat (limited to 'sugar/graphics/menu.py')
-rw-r--r-- | sugar/graphics/menu.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar/graphics/menu.py b/sugar/graphics/menu.py index 2a80c87..0fd9949 100644 --- a/sugar/graphics/menu.py +++ b/sugar/graphics/menu.py @@ -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) |