I have investigated this and the problem is related to gnome-power-
manager creating a new menu during each update. This is the function
(from 12-add-appindicators.patch) creating a new menu:

static void
gpm_tray_icon_devices_changed_cb (GpmEngine *engine, GpmTrayIcon *icon)
{
        GtkMenu *menu;

        egg_debug("%s", __func__);

        menu = gpm_tray_icon_create_menu (icon);
        gtk_widget_show_all (GTK_WIDGET (menu));
        app_indicator_set_menu (icon->priv->app_indicator, menu);
}

If comment out call to app_indicator_set_menu() icon does not disappear
anymore, but naturally the menu won't be updated. I'm exploring how to
fix this properly.

-- 
Application Indicator causes Gnome Power fallback icon to show/hide on each 
refresh
https://bugs.launchpad.net/bugs/529052
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to