Author: kelnos Date: 2008-10-08 09:14:35 +0000 (Wed, 08 Oct 2008) New Revision: 28101
Modified: xfce4-session/trunk/ChangeLog xfce4-session/trunk/xfce4-session-logout/main.c xfce4-session/trunk/xfce4-session-logout/xfce4-session-logout.1 Log: * xfce4-session-logout/{main.c,xfce4-session-logout.1}: Add --fast command-line option to instruct the session manager not to save the session. Modified: xfce4-session/trunk/ChangeLog =================================================================== --- xfce4-session/trunk/ChangeLog 2008-10-08 09:14:24 UTC (rev 28100) +++ xfce4-session/trunk/ChangeLog 2008-10-08 09:14:35 UTC (rev 28101) @@ -1,3 +1,9 @@ +2008-10-08 Brian Tarricone <[EMAIL PROTECTED]> + + * xfce4-session-logout/{main.c,xfce4-session-logout.1}: Add + --fast command-line option to instruct the session manager + not to save the session. + 2008-10-07 Brian Tarricone <[EMAIL PROTECTED]> * configure.in.in: Add separate deps on dbus and dbus-glib. Modified: xfce4-session/trunk/xfce4-session-logout/main.c =================================================================== --- xfce4-session/trunk/xfce4-session-logout/main.c 2008-10-08 09:14:24 UTC (rev 28100) +++ xfce4-session/trunk/xfce4-session-logout/main.c 2008-10-08 09:14:35 UTC (rev 28101) @@ -92,6 +92,7 @@ " --reboot Reboot without displaying the logout dialog\n" " --suspend Suspend without displaying the logout dialog\n" " --hibernate Hibernate without displaying the logout dialog\n" + " --fast Log out quickly; don't save the session\n" "\n" " --help Print this help message and exit\n" " --version Print version information and exit\n" @@ -134,6 +135,10 @@ { shutdown_type = XFSM_SHUTDOWN_HIBERNATE; } + else if (strcmp (*argv, "--fast") == 0) + { + allow_save = FALSE; + } else if (strcmp (*argv, "--version") == 0) { printf ("%s (Xfce %s)\n\n" Modified: xfce4-session/trunk/xfce4-session-logout/xfce4-session-logout.1 =================================================================== --- xfce4-session/trunk/xfce4-session-logout/xfce4-session-logout.1 2008-10-08 09:14:24 UTC (rev 28100) +++ xfce4-session/trunk/xfce4-session-logout/xfce4-session-logout.1 2008-10-08 09:14:35 UTC (rev 28101) @@ -34,6 +34,11 @@ .B \-\-hibernate Hibernate without displaying the logout dialog. .TP +.B \-\-fast +Do a fast shutdown. This instructs the session manager +not to save the session, but instead to quit everything +quickly. +.TP .B \-\-help Print a help screen and exit. .TP _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits