mirror of https://github.com/BOINC/boinc.git
- MGR: Fix menu redraw issue under Ubuntu's new interface.
fixes #1180 (From Huibert) clientgui/ AdvancedFrame.cpp svn path=/trunk/boinc/; revision=25702
This commit is contained in:
parent
aafdf3a312
commit
351b9f9b79
|
@ -3973,3 +3973,11 @@ David 20 May 2012
|
|||
manage_apps.php
|
||||
api/
|
||||
boinc_api.cpp,h
|
||||
|
||||
Rom 21 May 2012
|
||||
- MGR: Fix menu redraw issue under Ubuntu's new interface.
|
||||
fixes #1180
|
||||
(From Huibert)
|
||||
|
||||
clientgui/
|
||||
AdvancedFrame.cpp
|
||||
|
|
|
@ -701,6 +701,10 @@ bool CAdvancedFrame::CreateMenu() {
|
|||
|
||||
wxMenuBar* m_pOldMenubar = GetMenuBar();
|
||||
SetMenuBar(m_pMenubar);
|
||||
#ifdef __WXGTK__
|
||||
// Force a redraw of the menu under Ubuntu's new interface
|
||||
SendSizeEvent();
|
||||
#endif
|
||||
#ifdef __WXMAC__
|
||||
m_pMenubar->MacInstallMenuBar();
|
||||
MacLocalizeBOINCMenu();
|
||||
|
|
Loading…
Reference in New Issue