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:
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.
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 icon_devices_ changed_ cb (GpmEngine *engine, GpmTrayIcon *icon)
gpm_tray_
{
GtkMenu *menu;
egg_debug("%s", __func__);
menu = gpm_tray_ icon_create_ menu (icon); show_all (GTK_WIDGET (menu)); set_menu (icon-> priv->app_ indicator, menu);
gtk_widget_
app_indicator_
}
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.