>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Jean-Marc> Yes, I noticed the problem this week end and I know what
Jean-Marc> the problem is. I will try to send you an alternative patch
Jean-Marc> today. Other things that I noticed:

Can you try the following alternative patch? It does the same thing as
the previous one, but only for top-level menus.

Sorry for the fuck-up.

JMarc

Index: src/frontends/qt2/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/ChangeLog,v
retrieving revision 1.389.2.28
diff -u -p -r1.389.2.28 ChangeLog
--- src/frontends/qt2/ChangeLog	4 Jun 2003 13:04:36 -0000	1.389.2.28
+++ src/frontends/qt2/ChangeLog	7 Jul 2003 12:48:47 -0000
@@ -1,7 +1,12 @@
+2003-07-07  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* Menubar_pimpl.C (Pimpl): when creating a top-level menu, make
+	sure that it is initialized to some reasonable value, so that the
+	(ugly) Qt/Mac code can do its magic
+
 2003-06-01  John Levon  <[EMAIL PROTECTED]>
   	 
-	* QGraphicsDialog.C: use relative file browsing
-	(bug 1028)
+	* QGraphicsDialog.C: use relative file browsing (bug 1028)
 
 2003-04-29  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
Index: src/frontends/qt2/Menubar_pimpl.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/Menubar_pimpl.C,v
retrieving revision 1.21
diff -u -p -r1.21 Menubar_pimpl.C
--- src/frontends/qt2/Menubar_pimpl.C	17 Dec 2002 20:37:10 -0000	1.21
+++ src/frontends/qt2/Menubar_pimpl.C	7 Jul 2003 12:48:47 -0000
@@ -51,6 +51,7 @@ Menubar::Pimpl::Pimpl(LyXView * view, Me
 		pair<int, QLPopupMenu *> menu =
 			createMenu(owner_->menuBar(), &(*m), this, true);
 		name_map_[m->submenuname()] = menu.second;
+		menu.second->showing();
 	}
 }
 

Reply via email to