akirad fixups for splash, folders, icons
[goodguy/history.git] / cinelerra-5.0 / plugins / theme_bright / brighttheme.C
index 6fc162a0e3090299b6a4c022e6f7511b9762ed48..13664f55c60adc1ad5f42ba3eb8fcc51aa22e272 100644 (file)
@@ -888,10 +888,8 @@ void BrightTheme::draw_rmonitor_bg(RecordMonitorGUI *gui)
 void BrightTheme::draw_mwindow_bg(MWindowGUI *gui)
 {
 // Button bar
-       gui->draw_3segmenth(mbuttons_x,
-               mbuttons_y - 1,
-               mwindow->session->mwindow_w,
-               get_image("mbutton_bg"));
+       gui->draw_3segmenth(mbuttons_x, mbuttons_y - 1,
+               gui->menu_w(), get_image("mbutton_bg"));
 
        gui->draw_vframe(get_image("panel_divider"),
                mbuttons_x + 228,