? edit_term-500396.patch
? edit_term-image_gallery-20090924.patch
Index: edit_term.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/edit_term/edit_term.module,v
retrieving revision 1.3.2.4
diff -u -p -r1.3.2.4 edit_term.module
--- edit_term.module	24 Sep 2009 11:07:21 -0000	1.3.2.4
+++ edit_term.module	24 Sep 2009 11:54:59 -0000
@@ -92,6 +92,12 @@ function edit_term_menu() {
 
   /////////////////////////////////////////
   // Add an edit tab to gallery pages also
+  //
+  // image_gallery_menu() handles things differently than we do, 
+  // with one top-level handler and no wildcards.
+  // This mean we cannot surgically use hook_menu_alter()
+  // and instead have to re-implement a chunk of image_gallery
+  //  but hopefully it can knit together.
 
   $items['image/tid/%'] = array(
     'title' => 'Image galleries',
@@ -99,6 +105,10 @@ function edit_term_menu() {
     'page arguments' => array('tid', 2),
     'type' => MENU_CALLBACK,
     'page callback' => 'image_gallery_page',
+    // As of 2009-09-04
+    // image_gallery.module now stores these pages in a new file
+    'file' => 'image_gallery.pages.inc',
+    'file path' => drupal_get_path('module', 'image_gallery'),
   );
 
   $items['image/tid/%/view'] = array(
