summaryrefslogtreecommitdiffstats
path: root/debian/patches/reenable-existing-user-mode.patch
blob: d149d39ae41ed5afd0eec21f3006804c06d27140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Thu, 17 Feb 2022 08:17:17 -0500
Subject: Re-enable existing users mode since gnome-tour isn't in Debian

This reverts commit 43f1870c "Disable existing-user mode".

Forwarded: not-needed
---
 gnome-initial-setup/gnome-initial-setup.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index 113ded3..4d14fea 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -323,20 +323,6 @@ main (int argc, char *argv[])
   adw_style_manager_set_color_scheme (adw_style_manager_get_default (),
                                       ADW_COLOR_SCHEME_PREFER_LIGHT);
 
-  /* On first login, GNOME Shell offers to run a tour. If we also run Initial
-   * Setup, the two immovable, centred windows will sit atop one another.
-   * Until we have the ability to run Initial Setup in the "kiosk" mode, like
-   * it does in new-user mode, disable Initial Setup for existing users.
-   *
-   * https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/120#note_1019004
-   * https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/12
-   */
-  if (mode == GIS_DRIVER_MODE_EXISTING_USER) {
-    g_message ("Skipping gnome-initial-setup for existing user");
-    gis_ensure_stamp_files (driver);
-    exit (EXIT_SUCCESS);
-  }
-
   /* We only do this in existing-user mode, because if gdm launches us
    * in new-user mode and we just exit, gdm's special g-i-s session
    * never terminates. */