← Back to team overview

dx-packages team mailing list archive

[Bug 1203888] Re: appindicator doesn't work in Saucy

 

Please ignore previous example code. It looks like what is happening is
that glipper and blueman are trying to add menu entries after sending
the menu to the indicator, which doesn't work any more in Saucy. The
following code will display both menu items in 12.04 but in Saucy only
"One" is displayed:

#!/usr/bin/env python

import gtk
import appindicator

m = gtk.Menu()
i = gtk.MenuItem('One')
i.show()
m.append(i)

a = appindicator.Indicator('test', '/usr/share/icons/ubuntu-mono-light/stock/22/avatar-default.svg', appindicator.CATEGORY_APPLICATION_STATUS)
a.set_status(appindicator.STATUS_ACTIVE)
a.set_menu(m)

j = gtk.MenuItem('Two')
j.show()
m.append(j)

gtk.main()

** Also affects: libappindicator (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1203888

Title:
  appindicator doesn't work in Saucy

Status in Glipper:
  New
Status in “blueman” package in Ubuntu:
  Confirmed
Status in “glipper” package in Ubuntu:
  Confirmed
Status in “libappindicator” package in Ubuntu:
  New

Bug description:
  On Saucy, the glipper appindicator shows but none of its menu items
  show up when left or right-clicking on it.

  $ glipper
  SHARED_DATA_DIR: /usr/share/glipper
  Binding shortcut <Ctrl><Alt>c to popup glipper
  Changed process name to: glipper
  /usr/lib/python2.7/dist-packages/glipper/AppIndicator.py:43: Warning: /build/buildd/glib2.0-2.37.3/./gobject/gsignal.c:2475: signal 'child-added' is invalid for instance '0x20c90f0' of type 'GtkMenu'
    self._app_indicator.set_menu(self.menu)

  (glipper:20249): LIBDBUSMENU-GLIB-WARNING **: About to Show called on
  an item wihtout submenus.  We're ignoring it.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: glipper 2.4-3
  ProcVersionSignature: Ubuntu 3.10.0-4.13-generic 3.10.1
  Uname: Linux 3.10.0-4-generic x86_64
  ApportVersion: 2.11-0ubuntu1
  Architecture: amd64
  Date: Mon Jul 22 18:17:16 2013
  InstallationDate: Installed on 2013-06-14 (38 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: glipper
  UpgradeStatus: No upgrade log present (probably fresh install)

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