summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/remove-sessionmigration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/cinnamon/remove-sessionmigration.patch')
-rw-r--r--pkgs/desktops/cinnamon/remove-sessionmigration.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/remove-sessionmigration.patch b/pkgs/desktops/cinnamon/remove-sessionmigration.patch
new file mode 100644
index 00000000000..92e63549d96
--- /dev/null
+++ b/pkgs/desktops/cinnamon/remove-sessionmigration.patch
@@ -0,0 +1,19 @@
+--- a/cinnamon-session/csm-session-fill.c
++++ b/cinnamon-session/csm-session-fill.c
+@@ -228,15 +228,6 @@
+ load_standard_apps (CsmManager *manager,
+                     GKeyFile   *keyfile)
+ {
+-        GError *error;
+-
+-        g_debug ("fill: *** Executing user migration");
+-        error = NULL;
+-        if(!g_spawn_command_line_sync ("session-migration", NULL, NULL, NULL, &error)) {
+-                 g_warning ("Error while executing session-migration: %s", error->message);
+-                 g_error_free (error);
+-        }
+-
+         g_debug ("fill: *** Adding required components");
+         handle_required_components (keyfile, !csm_manager_get_failsafe (manager),
+                                     append_required_components_helper, manager);
+