Impossible to inherit a class from AppIndicator*.Indicator in Python (gir)
Bug #730528 reported by
Artem Popov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libappindicator |
Confirmed
|
Low
|
Unassigned | ||
libappindicator (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
In Python it's currently impossible to inherit a class from AppIndicator*
from gi.repository import AppIndicator3
class MyIndicator(
def __init__(self):
#also happens with self.__
i = MyIndicator()
summary: |
Impossible to inherit a class from AppIndicator*.Indicator in Python + (gir) |
Changed in libappindicator (Ubuntu): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
importance: | Undecided → Low |
Changed in libappindicator: | |
importance: | Undecided → Low |
Changed in libappindicator: | |
status: | New → Confirmed |
Changed in libappindicator (Ubuntu): | |
status: | New → Confirmed |
Changed in libappindicator (Ubuntu): | |
milestone: | none → ubuntu-11.04 |
Changed in libappindicator (Ubuntu): | |
milestone: | ubuntu-11.04 → natty-updates |
Changed in libappindicator (Ubuntu): | |
milestone: | natty-updates → none |
Changed in libappindicator (Ubuntu): | |
assignee: | Ken VanDine (ken-vandine) → nobody |
To post a comment you must log in.
I don't think that has got anything to do with the subclassing; you cannot currently instantiate an appindicator object:
$ python -c 'from gi.repository import AppIndicator3; i = AppIndicator3. Indicator( ); print i'
(process:29515): Gtk-CRITICAL **: gtk_icon_ theme_get_ for_screen: assertion `GDK_IS_SCREEN (screen)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed sfehler (Speicherabzug geschrieben)
-c:1: Warning: invalid (NULL) pointer instance
-c:1: Warning: g_signal_
Speicherzugriff