akirad fixups for splash, folders, icons
[goodguy/history.git] / cinelerra-5.0 / cinelerra / theme.C
index aad03564cff71478c4d22136b7c00f94e9d035e5..8ace9a7a6a282b89a9a96962ce3c2316fafb44ec 100644 (file)
@@ -589,8 +589,8 @@ void Theme::build_toggle(VFrame** &data,
 void Theme::get_mwindow_sizes(MWindowGUI *gui, int w, int h)
 {
        mbuttons_x = 0;
-       mbuttons_y = gui->mainmenu->get_h() + 1;
-       mbuttons_w = w;
+       mbuttons_y = gui->menu_h() + 1;
+       mbuttons_w = gui->menu_w();
        mbuttons_h = get_image("mbutton_bg")->get_h();
        mclock_x = 10;
        mclock_y = mbuttons_y - 1 + mbuttons_h + widget_border;