Merge lp:~aacid/unity-greeter/compare_remote_session_internal_name into lp:unity-greeter

Proposed by Albert Astals Cid
Status: Merged
Merged at revision: 527
Proposed branch: lp:~aacid/unity-greeter/compare_remote_session_internal_name
Merge into: lp:unity-greeter
Diff against target: 19 lines (+2/-2)
1 file modified
src/user-list.vala (+2/-2)
To merge this branch: bzr merge lp:~aacid/unity-greeter/compare_remote_session_internal_name
Reviewer Review Type Date Requested Status
Unity Greeter Development Team Pending
Review via email: mp+121385@code.launchpad.net

Commit message

Compare against the internal name not the user visible one (which is "UCCS Configure client" and could techincally be translated)

Description of the change

Compare against the internal name not the user visible one (which is "UCCS Configure client" and could techincally be translated)

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/user-list.vala'
2--- src/user-list.vala 2012-08-24 15:09:01 +0000
3+++ src/user-list.vala 2012-08-27 09:17:46 +0000
4@@ -851,13 +851,13 @@
5 }
6 }
7
8- private bool is_supported_remote_session (string session_name)
9+ private bool is_supported_remote_session (string session_internal_name)
10 {
11 bool found = false;
12 #if HAVE_REMOTE_LIGHTDM
13 foreach (var session in LightDM.get_remote_sessions ())
14 {
15- if (session.name == session_name)
16+ if (session.key == session_internal_name)
17 {
18 found = true;
19 break;

Subscribers

People subscribed via source and target branches