[gnome-session] data: Change gnome.session to start GNOME Shell



commit a4133fcb08dc72b581a82a7754f712a82b07c5f7
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Nov 29 19:31:30 2010 +0100

    data: Change gnome.session to start GNOME Shell
    
    We use the gnome-session-is-accelerated tool to know if GNOME Shell be
    used, and if no, we fallback to the classic-gnome session.

 data/Makefile.am                         |    2 +-
 data/classic-gnome.session.desktop.in.in |    7 +++++++
 data/gnome.session.desktop.in.in         |    6 ++++--
 3 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 65e6c7d..afa2358 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,7 +16,7 @@ desktop_in_files = session-properties.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
 sessiondir = $(datadir)/gnome-session/sessions
-session_in_in_files = gnome.session.desktop.in.in
+session_in_in_files = gnome.session.desktop.in.in classic-gnome.session.desktop.in.in
 session_in_files = $(session_in_in_files:.session.desktop.in.in=.session.desktop.in)
 session_DATA = $(session_in_files:.session.desktop.in=.session)
 
diff --git a/data/classic-gnome.session.desktop.in.in b/data/classic-gnome.session.desktop.in.in
new file mode 100644
index 0000000..8b8657b
--- /dev/null
+++ b/data/classic-gnome.session.desktop.in.in
@@ -0,0 +1,7 @@
+[GNOME Session]
+_Name=Classic GNOME
+Required=windowmanager;panel;filemanager;
+Required-windowmanager= DEFAULT_WM@
+Required-panel=gnome-panel
+Required-filemanager=nautilus
+DefaultApps=gnome-settings-daemon;
diff --git a/data/gnome.session.desktop.in.in b/data/gnome.session.desktop.in.in
index e088f3c..2000f56 100644
--- a/data/gnome.session.desktop.in.in
+++ b/data/gnome.session.desktop.in.in
@@ -1,7 +1,9 @@
 [GNOME Session]
 _Name=GNOME
 Required=windowmanager;panel;filemanager;
-Required-windowmanager= DEFAULT_WM@
-Required-panel=gnome-panel
+Required-windowmanager=gnome-shell
+Required-panel=gnome-shell
 Required-filemanager=nautilus
 DefaultApps=gnome-settings-daemon;
+IsRunnableHelper= LIBEXECDIR@/gnome-session-is-accelerated
+FallbackSession=classic-gnome



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