Merge lp:~donadigo/wingpanel-indicator-notifications/fix-empty-indicator-session into lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications

Proposed by Adam Bieńkowski
Status: Merged
Approved by: Rico Tzschichholz
Approved revision: 109
Merged at revision: 110
Proposed branch: lp:~donadigo/wingpanel-indicator-notifications/fix-empty-indicator-session
Merge into: lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications
Diff against target: 12 lines (+1/-1)
1 file modified
src/Indicator.vala (+1/-1)
To merge this branch: bzr merge lp:~donadigo/wingpanel-indicator-notifications/fix-empty-indicator-session
Reviewer Review Type Date Requested Status
Rico Tzschichholz Approve
Review via email: mp+301778@code.launchpad.net

Commit message

Fix empty indicator (no "no notifications" label) after restoring empty session

Description of the change

This branch fixes empty indicator (no "no notifications" label) after restoring empty session.
Instead of updating only the icon it updates also the content of the indicator which fixes the issue.

To post a comment you must log in.
Revision history for this message
Rico Tzschichholz (ricotz) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Indicator.vala'
2--- src/Indicator.vala 2016-07-20 20:17:06 +0000
3+++ src/Indicator.vala 2016-08-02 13:27:24 +0000
4@@ -119,7 +119,7 @@
5
6 restore_previous_session ();
7
8- dynamic_icon.set_main_icon_name (get_display_icon_name ());
9+ on_switch_stack (nlist.get_entries_length () > 0);
10 }
11
12 return main_box;

Subscribers

People subscribed via source and target branches

to all changes: