[gnome-panel] Revert "Pass --session-name from desktop files."



commit 506b65e0d8e013db7526da92910caabba8f63cbe
Author: Philipp Kaluza <phk src gnome org>
Date:   Sun Dec 8 11:15:04 2013 +0100

    Revert "Pass --session-name from desktop files."
    
    This reverts commit cf5f81d5dc41a8d6d64ef321db4fc9456c75a4bb.
    It is not possible with all DMs to list parameters in the session file
    this way. :-(
    
    Bugzilla was: https://bugzilla.gnome.org/show_bug.cgi?id=719424

 data/gnome-flashback.desktop.in.in     |    2 +-
 gnome-panel/gnome-session-flashback.in |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/gnome-flashback.desktop.in.in b/data/gnome-flashback.desktop.in.in
index 8383a92..915c759 100644
--- a/data/gnome-flashback.desktop.in.in
+++ b/data/gnome-flashback.desktop.in.in
@@ -1,7 +1,7 @@
 [Desktop Entry]
 _Name=GNOME Flashback (Metacity)
 _Comment=This session logs you into GNOME with the traditional panel
-Exec= libexecdir@/gnome-session-flashback --session=gnome-flashback
+Exec= libexecdir@/gnome-session-flashback
 TryExec= libexecdir@/gnome-session-flashback
 Icon=
 Type=Application
diff --git a/gnome-panel/gnome-session-flashback.in b/gnome-panel/gnome-session-flashback.in
index 30051f1..df97d7c 100644
--- a/gnome-panel/gnome-session-flashback.in
+++ b/gnome-panel/gnome-session-flashback.in
@@ -29,10 +29,10 @@ if [ -w "$HOME/.xsession-errors-flashback" ] ; then
        echo "gnome-session-flashback ($VERSION): attempting to launch" \
             "gnome-session at $(date --iso-8601=seconds)" \
             > "$HOME/.xsession-errors-flashback"
-       gnome-session "$@" 2>&1 | tee -a "$HOME/.xsession-errors-flashback"
+       gnome-session --session=gnome-flashback "$@" 2>&1 | tee -a "$HOME/.xsession-errors-flashback"
 else
        echo "gnome-session-flashback ($VERSION): attempting to launch" \
             "gnome-session at $(date --iso-8601=seconds)" >&2
-       exec gnome-session "$@"
+       exec gnome-session --session=gnome-flashback "$@"
 fi
 


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