~3v1n0/notify-osd/fix-notifications-replacing

Viewing all changes in revision 497.

  • Committer: CI Train Bot
  • Author(s): Lars Uebernickel
  • Date: 2015-11-12 08:51:02 UTC
  • mfrom: (492.4.2 spam-a-bit-less)
  • Revision ID: ci-train-bot@canonical.com-20151112085102-sijumb6lj70vpchx
Refactor bubble_set_icon()

This function did the same as bubble_set_icon_for_path(), because paths are allowed in addition to icon names for both the app-icon parameter and the image-path hint.

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_ICON_PREFIX_WORKAROUND. It's been there since 2009 and
was never set to anything but 1.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: