Index: menu.c
===================================================================
RCS file: /cvs/gnome/metacity/src/menu.c,v
retrieving revision 1.43
diff -u -p -r1.43 menu.c
--- menu.c	19 Nov 2005 14:58:50 -0000	1.43
+++ menu.c	17 Feb 2006 01:22:06 -0000
@@ -267,6 +267,9 @@ meta_window_menu_new   (MetaFrames      
 
   if (n_workspaces < 2)
     ops &= ~(META_MENU_OP_STICK | META_MENU_OP_UNSTICK | META_MENU_OP_WORKSPACES);
+  else if (n_workspaces == 2) 
+    /* #151183: If we only have two workspaces, disable the menu listing them. */
+    ops &= ~(META_MENU_OP_WORKSPACES);
   
   menu = g_new (MetaWindowMenu, 1);
   menu->frames = frames;
