dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #05089
[Bug 1203888] Re: appindicator ignores menu entries after having sent the menu to the indicator
Some progress:
In libdbusmenu/libdbusmenu-gtk/parser.c the following change was made:
http://bazaar.launchpad.net/~dbusmenu-
team/libdbusmenu/trunk.14.04/revision/355
g_signal_connect (G_OBJECT (menu),
- "child-added",
- G_CALLBACK (child_added_cb),
+#ifdef HAVE_GTK3
+ "insert",
+#else
+ "child-added"
+#endif
+ G_CALLBACK (item_inserted_cb),
mi);
g_signal_connect (G_OBJECT (menu),
- "child-removed",
- G_CALLBACK (child_removed_cb),
+ "remove",
+ G_CALLBACK (item_removed_cb),
mi);
Notice in particular that "child-added" has a check which produces a
different result depending on gtk2/gtk3, but "child-removed" was simple
replaced by "remove".
If I change "child-added" to "something-else", the error message
produced changes:
./test-indicator.py:15: Warning:
/build/buildd/glib2.0-2.38.1/./gobject/gsignal.c:2475: signal
'something-else' is invalid for instance '0x23b70c0' of type 'GtkMenu'
However, if I change "child-added" to "insert" (so that it matches the
GTK3 version, as with the "remove" signal) then the test case segfaults.
--
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 ignores menu entries after having sent the menu to the
indicator
Status in Glipper:
New
Status in “blueman” package in Ubuntu:
Confirmed
Status in “glipper” package in Ubuntu:
Triaged
Status in “libappindicator” package in Ubuntu:
Triaged
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