Make ClipboardIcon use the new Menu.

This commit is contained in:
Tomeu Vizoso
2007-02-21 21:12:27 +01:00
parent 9ba487fa1f
commit b452b7d718
10 changed files with 121 additions and 94 deletions
+3
View File
@@ -98,6 +98,9 @@ class Menu(Popup):
item.connect('button-press-event', self._item_button_press_event_cb)
self.append(item)
def remove_item(self, item):
self.remove(item)
def add_separator(self):
box = hippo.CanvasBox()
box.props.background_color = color.MENU_SEPARATOR.get_int()