+2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * Menubar_pimpl.C (create_submenu): do not create a "More..."
+ submenu just for one entry
+
2002-10-15 Angus Leeming <leeming@lyx.org>
* XWorkArea.C (work_area_handler): Pass the mouse button correctly to
string & extra_label = *it;
++count;
- if (count > max_number_of_items) {
+ // add a More... submenu if the menu is too long (but
+ // not just for one extra entry!)
+ if (count > max_number_of_items && (i+1) != end) {
int tmpmenuid = get_new_submenu(smn, win);
lyxerr[Debug::GUI] << "Too many items, creating "
<< "new menu " << tmpmenuid << endl;