← Back to team overview

dx-packages team mailing list archive

[Bug 730528] Re: Impossible to inherit a class from AppIndicator*.Indicator in Python (gir)

 

** Changed in: libappindicator (Ubuntu)
     Assignee: Ken VanDine (ken-vandine) => (unassigned)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libappindicator in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/730528

Title:
  Impossible to inherit a class from AppIndicator*.Indicator in Python
  (gir)

Status in libappindicator:
  Confirmed
Status in libappindicator package in Ubuntu:
  Confirmed

Bug description:
  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()

To manage notifications about this bug go to:
https://bugs.launchpad.net/libappindicator/+bug/730528/+subscriptions