File gnome-shell-use-env-var-for-mode.patch of Package gnome-shell-extensions.705

Index: data/gnome-classic.desktop.in
===================================================================
--- data/gnome-classic.desktop.in.orig	2013-07-24 17:57:44.000000000 +0800
+++ data/gnome-classic.desktop.in	2014-02-24 19:16:27.715489422 +0800
@@ -1,7 +1,7 @@
 [Desktop Entry]
 _Name=GNOME Classic
 _Comment=This session logs you into GNOME Classic
-Exec=gnome-session --session gnome-classic
+Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic
 TryExec=gnome-session
 Icon=
 Type=Application
Index: data/gnome-shell-classic.desktop.in.in
===================================================================
--- data/gnome-shell-classic.desktop.in.in.orig	2013-07-24 17:57:44.000000000 +0800
+++ data/gnome-shell-classic.desktop.in.in	2014-02-24 19:16:40.673866212 +0800
@@ -2,7 +2,7 @@
 Type=Application
 _Name=GNOME Shell Classic
 _Comment=Window management and application launching
-Exec=@bindir@/gnome-shell --mode=classic
+Exec=@bindir@/gnome-shell
 TryExec=@bindir@/gnome-shell
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-shell
openSUSE Build Service is sponsored by