Martin, this code works for me on a fully updated Natty system:
from gi.repository import AppIndicator3, Gtk
i = AppIndicator3.Indicator.new("testindicator", "indicator-messages",
AppIndicator3.IndicatorCategory.HARDWARE)
i.set_status(AppIndicator3.IndicatorStatus.ACTIVE)
i.set_menu(Gtk.Menu())
Gtk.main()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/730528
Title:
Impossible to inherit a class from AppIndicator*.Indicator in Python
(gir)
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs