gnome-panel should not have hard dependency to gnome-icon-theme-symbolic

Bug #1093938 reported by Peter Hurley
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1. An icon theme file should not be a hard dependency. How would a different icon theme provide alternate icons?
2. The 4 symbolic icons referred to are part of the now-defunct User menu, which no longer draws the icons anyway:

static GtkWidget *
panel_menu_item_presence_new (......)
{
        ......
#if 0
 if (use_icon) {
  GtkWidget *image;
  image = gtk_image_new_from_icon_name (icon,
            panel_menu_icon_get_size ());
  gtk_container_add (GTK_CONTAINER (item), image);
 }
#endif

Revision history for this message
Peter Hurley (phurley) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch to debian/control.in" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Sorry, gnome-panel does need gnome-icon-theme-symbolic for the upstream user menu. You are correct that gnome-panel in Ubuntu currently ships the "indicator" status menus like Unity instead of the user menu but it is still available for people to use.

A different theme can provide alternative icons by providing:
user-available-symbolic
user-busy-symbolic
user-idle-symbolic
user-invisible-symbolic

I'm closing this bug since I don't believe this breaks third-party themes and this dependency is necessary for some functionality.

Revision history for this message
Peter Hurley (phurley) wrote :

Hi Jeremy,

Firstly, I think you didn't look closely at the code snippet that I included. As packaged, gnome-panel does not render the icons for the user menu, so it doesn't really matter if the icons are found or not (that is, no functionality is broken by not having gnome-icon-theme-symbolic installed).

Secondly, I think the purpose of symbolic icons has wandered from its original mission. Excerpted from the README of gnome-icon-theme-symbolic:
"Icons follow the naming specification, but have a -symbolic suffix, so only
applications specifically looking up these symbolic icons will render them. If
a -symbolic icon is missing, the app will fall back to the regular name."

If you'd prefer, I could change this bug (and similarly for g-c-c and totem) to "<package> should use g_themed_icon_new_from_names() for symbolic icons".

tags: added: packaging
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-panel (Ubuntu):
status: New → Confirmed
Changed in gnome-panel (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.