GNOME Bugzilla – Bug 599549
change the name of the panel icon
Last modified: 2020-11-12 12:24:27 UTC
Created attachment 146205 [details] [review] patch if you enable vino through the controlcenter applet an icon is created in the notification area. this icon should match the rest of notification area icons (which in ubuntu are black and white). Currently it looks slightly out of place. My suggestion is to rename the icon used for the panel, so that it is different from the one used in the menus. I have a working patch that does this, using a GThemedIcon with default fallbacks, so themes that don't ship the new icon will fallback to the one used for menus.
Review of attachment 146205 [details] [review]: ::: vino-2.28.1.orig/server/vino-status-icon.c @@ +191,3 @@ + NULL); + + icon = g_themed_icon_new_with_default_fallbacks (icon_name); You could pass the GIcon directly to g_object_new() instead. @@ +193,3 @@ + icon = g_themed_icon_new_with_default_fallbacks (icon_name); + status_icon = (GTK_STATUS_ICON (vino_icon)); + gtk_status_icon_set_from_gicon (status_icon, icon); You're leaking a reference to the GIcon you just created, the function above takes a reference already.
Vino is not under active development anymore and unmaintained. Please use gnome-remote-desktop instead. Closing this report as WONTFIX to reflect reality.