Commits

Anonymous committed e85791d

Don't install Quit action into MooTermWindowClass

  • Participants
  • Parent commits 121c79c
  • Tags ggap-0.6.9

Comments (0)

Files changed (1)

moo/mooapp/mooapp.c

     about = g_strdup_printf ("About %s", app->priv->info->full_name);
     _about = g_strdup_printf ("_About %s", app->priv->info->full_name);
 
-    moo_window_class_new_action (klass, "Quit",
-                                 "display-name", "Quit",
-                                 "label", "_Quit",
-                                 "tooltip", "Quit",
-                                 "stock-id", GTK_STOCK_QUIT,
-                                 "accel", "<ctrl>Q",
-                                 "closure-callback", moo_app_quit,
-                                 "closure-proxy-func", moo_app_get_instance,
-                                 NULL);
-
     moo_window_class_new_action (klass, "Preferences",
                                  "display-name", "Preferences",
                                  "label", "Pre_ferences",
 
     g_return_if_fail (klass != NULL);
 
+    moo_window_class_new_action (klass, "Quit",
+                                 "display-name", "Quit",
+                                 "label", "_Quit",
+                                 "tooltip", "Quit",
+                                 "stock-id", GTK_STOCK_QUIT,
+                                 "accel", "<ctrl>Q",
+                                 "closure-callback", moo_app_quit,
+                                 "closure-proxy-func", moo_app_get_instance,
+                                 NULL);
+
     install_actions (app, MOO_TYPE_EDIT_WINDOW);
 
     g_type_class_unref (klass);