Commit bb8baf27 authored by Matthias Clasen's avatar Matthias Clasen

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
parent bef001f9
...@@ -353,7 +353,7 @@ main (int argc, char **argv) ...@@ -353,7 +353,7 @@ main (int argc, char **argv)
gsm_util_set_autostart_dirs (override_autostart_dirs); gsm_util_set_autostart_dirs (override_autostart_dirs);
if (!gsm_session_fill (manager, session_name)) { 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); gsm_manager_start (manager);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment