Merge lp:~macslow/indicator-datetime/fix-1346925 into lp:indicator-datetime/13.10

Proposed by Mirco Müller
Status: Merged
Approved by: Charles Kerr
Approved revision: 357
Merged at revision: 359
Proposed branch: lp:~macslow/indicator-datetime/fix-1346925
Merge into: lp:indicator-datetime/13.10
Diff against target: 20 lines (+3/-0)
1 file modified
src/snap.cpp (+3/-0)
To merge this branch: bzr merge lp:~macslow/indicator-datetime/fix-1346925
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+227767@code.launchpad.net

Commit message

Make use of the x-canonical-non-shaped-icon hint to suppress masking the symbolic icon with an UbuntuShape.

Description of the change

Make use of the x-canonical-non-shaped-icon hint to suppress masking the symbolic icon with an UbuntuShape.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/snap.cpp'
2--- src/snap.cpp 2014-07-15 19:51:22 +0000
3+++ src/snap.cpp 2014-07-22 15:14:13 +0000
4@@ -262,6 +262,8 @@
5 g_variant_new_boolean(true));
6 notify_notification_set_hint(m_nn, HINT_TIMEOUT,
7 g_variant_new_int32(std::chrono::duration_cast<std::chrono::milliseconds>(duration).count()));
8+ notify_notification_set_hint(m_nn, HINT_NONSHAPEDICON,
9+ g_variant_new_boolean(true));
10
11 /// alarm popup dialog's button to show the active alarm
12 notify_notification_add_action(m_nn, "show", _("Show"),
13@@ -374,6 +376,7 @@
14 static constexpr char const * HINT_SNAP {"x-canonical-snap-decisions"};
15 static constexpr char const * HINT_TINT {"x-canonical-private-button-tint"};
16 static constexpr char const * HINT_TIMEOUT {"x-canonical-snap-decisions-timeout"};
17+ static constexpr char const * HINT_NONSHAPEDICON {"x-canonical-non-shaped-icon"};
18 };
19
20 /**

Subscribers

People subscribed via source and target branches