Merge lp:~larsu/notify-osd/spam-a-bit-less into lp:notify-osd
| Status: | Merged |
|---|---|
| Approved by: | Sebastien Bacher on 2015-11-12 |
| Approved revision: | 494 |
| Merged at revision: | 497 |
| Proposed branch: | lp:~larsu/notify-osd/spam-a-bit-less |
| Merge into: | lp:notify-osd |
| Diff against target: |
314 lines (+71/-156) 3 files modified
src/bubble.c (+69/-150) src/bubble.h (+1/-5) src/stack.c (+1/-1) |
| To merge this branch: | bzr merge lp:~larsu/notify-osd/spam-a-bit-less |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sebastien Bacher | 2015-10-14 | Approve on 2015-11-12 | |
|
Review via email:
|
|||
Commit Message
Refactor bubble_set_icon()
This function did the same as bubble_
Remove one of those functions and inline load_icon(), which gives us more control over when icon-not-found warnings are shown. Don't show one when using the fallback of prefixing the icon name with "notification-".
Remove TEMPORARY_
was never set to anything but 1.
Description of the Change
Refactor bubble_set_icon() a bit to remove warnings about not found icons when using the "notification-" fallback.
| Sebastien Bacher (seb128) wrote : | # |
with that branch the sound icons displayed when doing mouseover rolling over indicator-sound are wrong ...
- 494. By Lars Karlitski on 2015-11-11
-
bubble_set_icon: try fallback icon name first
Fallback icon name is the one prefixed with "notification-". The
previous commit accidentally changed the order of lookups.Remove TEMPORARY_
ICON_PREFIX_ WORKAROUND. It's been there since 2009 and
was never set to anything but 1.
| Lars Karlitski (larsu) wrote : | # |
Indeed. Fixed in r494.


looks fine and start of a new cycle is a good time to land such changes ;-)