Index: shell/rb-shell.c
===================================================================
--- shell/rb-shell.c	(revision 5667)
+++ shell/rb-shell.c	(working copy)
@@ -1620,7 +1620,7 @@
 		return TRUE;
 	}
 
-	rb_shell_quit (shell, NULL);
+	rb_shell_set_visibility (shell, FALSE, FALSE);
 
 	return TRUE;
 }
