[gnome-session] Show the fail whale if gnome-shell can't run
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] Show the fail whale if gnome-shell can't run
- Date: Fri, 25 Jan 2013 21:52:44 +0000 (UTC)
commit bb8baf27048221e31e2034f20f05c4e736eee10a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 25 16:51:05 2013 -0500
Show the fail whale if gnome-shell can't run
With software rendering, gnome-shell can run on most machines.
If gnome-shell really can't run, show a fail whale dialog during
session startup.
https://bugzilla.gnome.org/review?bug=687586
gnome-session/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index a043bac..f007c52 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -353,7 +353,7 @@ main (int argc, char **argv)
gsm_util_set_autostart_dirs (override_autostart_dirs);
if (!gsm_session_fill (manager, session_name)) {
- gsm_util_init_error (TRUE, "Failed to load session \"%s\"", session_name ? session_name : "(null)");
+ gsm_fail_whale_dialog_we_failed (FALSE, TRUE, NULL);
}
gsm_manager_start (manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]