A link to an app that use install_menu_hints is enough,
or look at this:

from gtk import *
from gnome.ui import *
class MyWin(GnomeApp):
    def __init__(self):
        GnomeApp.__init__(self)
        menuinfo = [UIINFO_SUBTREE("File",
                      [UIINFO_ITEM("Test", "tooltip", None),
                       UIINFO_MENU_EXIT_ITEM(mainquit)])
                   ]
        self.create_menus(menuinfo)
        appbar = GnomeAppBar()
        appbar.show()
        self.set_statusbar(appbar)
        ### install_menu_hint cause program crash
        self.install_menu_hints(menuinfo)
w = MyWin()
w.show()
w.connect('destroy', mainquit)
mainloop()

I get a segfault and the usual gnome crash dialog.

Tom Cato
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to