[gnome-initial-setup] summary-page: don't copy files to runtime dir until available



commit dd970b3f67b332b8a946a1830d3cf71380a34b09
Author: Ray Strode <rstrode redhat com>
Date:   Fri Oct 5 18:46:19 2012 -0400

    summary-page: don't copy files to runtime dir until available
    
    gnome-initial-setup copies the selected configuration to the
    newly created user accounts runtime directory. Unfortunately,
    it does this before the user logs in and before the runtime
    directory is created.
    
    This commit moves the file copying until after the session is
    open.

 .../pages/summary/gis-summary-page.c               |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.c b/gnome-initial-setup/pages/summary/gis-summary-page.c
index 305c798..9f6ad5d 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.c
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.c
@@ -187,6 +187,7 @@ on_session_opened (GdmGreeter  *greeter,
                    const char  *service_name,
                    SummaryData *data)
 {
+  copy_files_to_tmpfs (data);
   gdm_greeter_call_start_session_when_ready_sync (greeter, service_name,
                                                   TRUE, NULL, NULL);
 }
@@ -234,7 +235,6 @@ log_user_in (SummaryData *data)
 static void
 byebye (SummaryData *data)
 {
-  copy_files_to_tmpfs (data);
   log_user_in (data);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]