Index: modules/signup_status_mailer/signup_status_mailer.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/signup_status/modules/signup_status_mailer/signup_status_mailer.module,v
retrieving revision 1.6
diff -u -p -r1.6 signup_status_mailer.module
--- modules/signup_status_mailer/signup_status_mailer.module	19 Aug 2009 22:21:50 -0000	1.6
+++ modules/signup_status_mailer/signup_status_mailer.module	2 Oct 2009 18:16:48 -0000
@@ -36,6 +36,30 @@ function signup_status_mailer_menu() {
 }
 
 /**
+ * Implement hook_menu_alter().
+ *
+ * We need to inject a menu item to make signup_status's default settings page
+ * become the default tab, since we're trying to add another tab here. Other
+ * signup_status add-ons might want to do the same, so we do it here via
+ * hook_menu_alter() so they don't all try to do this simultaneously.
+ *
+ * Note that since we're defining a new item via the alter hook, we need to
+ * define the 'module' menu property ourself, since that is normally inserted
+ * automatically for all menu items defined via hook_menu().
+ *
+ * @see menu_router_build()
+ */
+function signup_status_mailer_menu_alter(&$items) {
+  if (empty($items['admin/settings/signup_status/admin'])) {
+    $items['admin/settings/signup_status/admin'] = array(
+      'title' => 'Administer',
+      'module' => 'signup_status',
+      'type' => MENU_DEFAULT_LOCAL_TASK,
+    );
+  }
+}
+
+/**
  * Menu access callback handler.
  *
  * Ensures the given node is configured to allow signups, and that the current
