Merge lp:~gunnarhj/lightdm/lp-1627395 into lp:lightdm

Proposed by Gunnar Hjalmarsson
Status: Merged
Merged at revision: 2399
Proposed branch: lp:~gunnarhj/lightdm/lp-1627395
Merge into: lp:lightdm
Diff against target: 29 lines (+3/-3)
1 file modified
debian/guest-session-auto.sh (+3/-3)
To merge this branch: bzr merge lp:~gunnarhj/lightdm/lp-1627395
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Review via email: mp+306696@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Sure

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/guest-session-auto.sh'
2--- debian/guest-session-auto.sh 2015-08-06 02:06:28 +0000
3+++ debian/guest-session-auto.sh 2016-09-24 23:44:59 +0000
4@@ -1,6 +1,6 @@
5 #!/bin/sh
6 #
7-# Copyright (C) 2013 Canonical Ltd
8+# Copyright (C) 2013-2016 Canonical Ltd
9 # Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
10 #
11 # This program is free software: you can redistribute it and/or modify it under
12@@ -37,7 +37,7 @@
13 /var/guest-data folder.')
14 test -w /var/guest-data && TEXT="$TEXT\n\n$para2"
15 }
16-test -f "$HOME"/.skip-guest-warning-dialog || {
17+if [ ! -f "$HOME"/.skip-guest-warning-dialog ] && [ "$XDG_CURRENT_DESKTOP" != 'MATE' ]; then
18 if [ "$KDE_FULL_SESSION" = true ] && [ -x /usr/bin/kdialog ]; then
19 dialog_content
20 TEXT_FILE="$HOME"/.guest-session-kdialog
21@@ -58,7 +58,7 @@
22 zenity --warning --no-wrap --title="$TITLE" --text="$TEXT"
23 } &
24 fi
25-}
26+fi
27
28 # run possible local startup commands
29 test -f /etc/guest-session/auto.sh && . /etc/guest-session/auto.sh

Subscribers

People subscribed via source and target branches