Unable to remove icon from menuitem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Messaging Menu |
Fix Released
|
Medium
|
Lars Karlitski | ||
qutim |
Fix Released
|
Medium
|
Vsevolod Velichko | ||
indicator-messages (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Impact:
It's not possible to remove icons once added
Test Case:
- download the file from comment #4
- Compile with:
gcc reproduce-
- "Something happened" will appear below the "Empathy" entry in the messaging menu. Without the fix to this bug, an "icon-not-found" icon will be displayed. With the fix, no icon should appear.
Regression Potential:
Limited, it makes work a case which was broken, if the fix is not correct it would keep not working
---
At the moment if I create some Messaging Menu menuitem with no icon (GIcon *icon = NULL), it is created with no icon, as it is supposed to be.
Then I set some icon with messaging_
So the only way to remove icon from source is to completely remove it and create again. I suppose that it is a bug.
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Charles Kerr (community): Approve
-
Diff: 45 lines (+15/-5)1 file modifiedlibmessaging-menu/messaging-menu.c (+15/-5)
Changed in qutim: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Vsevolod Velichko (torkvemada) |
Changed in indicator-messages: | |
status: | In Progress → Fix Committed |
Changed in indicator-messages (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in indicator-messages (Ubuntu Quantal): | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in indicator-messages: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in qutim: | |
status: | Confirmed → Fix Committed |
Changed in indicator-messages (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in qutim: | |
status: | Fix Committed → Fix Released |
Practically you have to call item_set_ attribute (menuitem, "x-canonical-type", "s", "ImSourceMenuIt em");
g_menu_
in case if icon is null.