aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirco Müller <mirco.mueller@canonical.com>2014-07-25 08:55:30 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-25 08:55:30 +0000
commit65ac3e29fe810e6d77abd8cb2b83bbccd893bbd8 (patch)
treed39a4efd34c35e8277f63801636faabe91cd28f1
parent3b3b4ba7c02df7d06a5d3a7578ae6c11abb85db8 (diff)
parent2d702560ea1c7f9efbd8bfa6bd4747a0517138cf (diff)
downloadayatana-indicator-datetime-65ac3e29fe810e6d77abd8cb2b83bbccd893bbd8.tar.gz
ayatana-indicator-datetime-65ac3e29fe810e6d77abd8cb2b83bbccd893bbd8.tar.bz2
ayatana-indicator-datetime-65ac3e29fe810e6d77abd8cb2b83bbccd893bbd8.zip
Make use of the x-canonical-non-shaped-icon hint to suppress masking the symbolic icon with an UbuntuShape. Fixes: 1346925
Approved by: Charles Kerr, PS Jenkins bot
-rw-r--r--src/snap.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index 45eb14e..5480425 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -262,6 +262,8 @@ private:
g_variant_new_boolean(true));
notify_notification_set_hint(m_nn, HINT_TIMEOUT,
g_variant_new_int32(std::chrono::duration_cast<std::chrono::milliseconds>(duration).count()));
+ notify_notification_set_hint(m_nn, HINT_NONSHAPEDICON,
+ g_variant_new_boolean(true));
/// alarm popup dialog's button to show the active alarm
notify_notification_add_action(m_nn, "show", _("Show"),
@@ -374,6 +376,7 @@ private:
static constexpr char const * HINT_SNAP {"x-canonical-snap-decisions"};
static constexpr char const * HINT_TINT {"x-canonical-private-button-tint"};
static constexpr char const * HINT_TIMEOUT {"x-canonical-snap-decisions-timeout"};
+ static constexpr char const * HINT_NONSHAPEDICON {"x-canonical-non-shaped-icon"};
};
/**