--- ./src/ephy-shell.c_old	2012-04-06 16:51:49.700557171 +0300
+++ ./src/ephy-shell.c	2012-04-06 16:53:54.001173530 +0300
@@ -246,7 +246,9 @@
                   GVariant *parameter,
                   gpointer user_data)
 {
-  g_application_quit (g_application_get_default ());
+  if (!g_settings_get_boolean (EPHY_SETTINGS_LOCKDOWN,
+                              EPHY_PREFS_LOCKDOWN_QUIT))
+    g_application_quit (g_application_get_default ());
 }
 
 static GActionEntry app_entries[] = {
