Merge lp:~seb128/unity-control-center/lightdm-login-history into lp:unity-control-center

Proposed by Sebastien Bacher
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 12867
Merged at revision: 12874
Proposed branch: lp:~seb128/unity-control-center/lightdm-login-history
Merge into: lp:unity-control-center
Diff against target: 15 lines (+4/-2)
1 file modified
panels/user-accounts/um-history-dialog.c (+4/-2)
To merge this branch: bzr merge lp:~seb128/unity-control-center/lightdm-login-history
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Review via email: mp+303118@code.launchpad.net

Commit message

Revert the change from r12750 to include only graphical sessions.
Lightdm changed the format of its utmp records which made u-c-c stop
listing any user login (lp: #1380364)

Description of the change

Revert the change from r12750 to include only graphical sessions.
Lightdm changed the format of its utmp records which made u-c-c stop
listing any user login (lp: #1380364)

To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'panels/user-accounts/um-history-dialog.c'
--- panels/user-accounts/um-history-dialog.c 2014-04-04 13:44:16 +0000
+++ panels/user-accounts/um-history-dialog.c 2016-08-17 10:25:15 +0000
@@ -249,8 +249,10 @@
249 break;249 break;
250 }250 }
251251
252 /* Display only x-session records */252 /* Display only x-session and tty records */
253 if (!g_str_has_prefix (history.type, ":")) {253 if (!g_str_has_prefix (history.type, ":") &&
254 !g_str_has_prefix (history.type, "tty")&&
255 !g_str_has_prefix (history.type, "pts")) {
254 continue;256 continue;
255 }257 }
256258

Subscribers

People subscribed via source and target branches