The menu bar does not redraw on Linux

A part of the menu bar does not redraw when closing the Preferences dialog box with the OK button.

Workaround:

In the method OnPreferences of Menus.cpp, replace the code

for (size_t i = 0; i < gAudacityProjects.GetCount(); i++) {
AudacityProject *p = gAudacityProjects_;
p->RebuildMenuBar();
p->RebuildOtherMenus();
}

by

#ifdef WXMAC
for (size_t i = 0; i < gAudacityProjects.GetCount(); i++) {
AudacityProject *p = gAudacityProjects;
p->RebuildMenuBar();
p->RebuildOtherMenus();
}
#endif

Tested on Linux fedora 14 only_

See ‘‘Complete or partial loss of Audacity menu bar’’ here: http://wiki.audacityteam.org/wiki/Release_Notes_2.0.4#Interface .


Gale