Merge lp:~donadigo/wingpanel-indicator-sound/hide-in-greeter into lp:~wingpanel-devs/wingpanel-indicator-sound/trunk

Proposed by Adam Bieńkowski
Status: Merged
Approved by: Djax
Approved revision: 26
Merged at revision: 25
Proposed branch: lp:~donadigo/wingpanel-indicator-sound/hide-in-greeter
Merge into: lp:~wingpanel-devs/wingpanel-indicator-sound/trunk
Diff against target: 17 lines (+5/-1)
1 file modified
src/Indicator.vala (+5/-1)
To merge this branch: bzr merge lp:~donadigo/wingpanel-indicator-sound/hide-in-greeter
Reviewer Review Type Date Requested Status
Felipe Escoto Approve
Review via email: mp+266671@code.launchpad.net

Description of the change

Fixes bug #1472002. Hide indicator in greeter.

To post a comment you must log in.
26. By Adam Bieńkowski

Remove unneded spaces

Revision history for this message
Felipe Escoto (philip.scott) :
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 2015-06-25 22:03:56 +0000
3+++ src/Indicator.vala 2015-08-02 17:22:25 +0000
4@@ -397,8 +397,12 @@
5 }
6 }
7
8-public Wingpanel.Indicator get_indicator (Module module) {
9+public Wingpanel.Indicator? get_indicator (Module module, Wingpanel.IndicatorManager.ServerType server_type) {
10 debug ("Activating Sound Indicator");
11+ if (server_type != Wingpanel.IndicatorManager.ServerType.SESSION) {
12+ return null;
13+ }
14+
15 var indicator = new Sound.Indicator ();
16 return indicator;
17 }

Subscribers

People subscribed via source and target branches

to all changes: