]> andersk Git - moira.git/blobdiff - clients/moira/menus.c
add mitdir prefs menu
[moira.git] / clients / moira / menus.c
index 22e0587e07e396e87c058068d152979bc5317dcd..3ac4b94b47f2d5efc26b54e007c17f0281a38f10 100644 (file)
@@ -561,6 +561,23 @@ Menu krbmap_menu = {
     }
 };
 
+Menu mitdir_menu = {
+    NULLFUNC,
+    NULLFUNC,
+    "MIT On-line Directory Preferences Menu",
+    2,
+    {
+       { GetDirFlags, NULLMENU, 2, {
+           { "show", "Show Directory Preferences" },
+           { "login", "Login name: " },
+       } },
+       { SetDirFlags, NULLMENU, 2, {
+           { "change", "Change Directory Preference" },
+           { "login", "Login name: " },
+       } },
+    }
+};
+
 /*
  * User Menu
  */
@@ -569,7 +586,7 @@ Menu user_menu = {
   NULLFUNC,
   NULLFUNC,
   "User Menu",
-  11,
+  12,
   {
     {ShowUserByLogin, NULLMENU, 2, {
        {"login", "Show user information by login name"},
@@ -605,6 +622,7 @@ Menu user_menu = {
     } },
     SUBMENU("pobox", "Post Office Box Menu", &pobox_menu),
     SUBMENU("krbmap", "User Kerberos Mappings", &krbmap_menu),
+    SUBMENU("mitdir", "MIT On-line Directory Preferences", &mitdir_menu),
   }
 };
 
This page took 0.042263 seconds and 4 git commands to generate.