Public bug reported:
In Python it's currently impossible to inherit a class from
AppIndicator*.Indicator. The following sample code leads to segfault:
from gi.repository import AppIndicator3
class MyIndicator(AppIndicator3.Indicator):
def __init__(self):
AppIndicator3.Indicator.__init__(self)
#also happens with self.__gobject_init__()
i = MyIndicator()
** Affects: libappindicator (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Impossible to inherit a class from AppIndicator*.Indicator in Python
+ Impossible to inherit a class from AppIndicator*.Indicator in Python (gir)
--
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