Commit bf82bce4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(set_frame_menubar): Don't call

x_set_menu_resources_from_menu_face here.
(update_frame_menubar): Call x_set_menu_resources_from_menu_face.
parent 2710454d
...@@ -1541,6 +1541,7 @@ update_frame_menubar (f) ...@@ -1541,6 +1541,7 @@ update_frame_menubar (f)
/* Re-manage the text-area widget, and then thrash the sizes. */ /* Re-manage the text-area widget, and then thrash the sizes. */
XtManageChild (x->edit_widget); XtManageChild (x->edit_widget);
x_set_menu_resources_from_menu_face (f, x->menubar_widget);
lw_refigure_widget (x->column_widget, True); lw_refigure_widget (x->column_widget, True);
/* Force the pane widget to resize itself with the right values. */ /* Force the pane widget to resize itself with the right values. */
...@@ -1788,7 +1789,6 @@ set_frame_menubar (f, first_time, deep_p) ...@@ -1788,7 +1789,6 @@ set_frame_menubar (f, first_time, deep_p)
f->output_data.x->menubar_height = menubar_size; f->output_data.x->menubar_height = menubar_size;
} }
x_set_menu_resources_from_menu_face (f, f->output_data.x->menubar_widget);
free_menubar_widget_value_tree (first_wv); free_menubar_widget_value_tree (first_wv);
update_frame_menubar (f); update_frame_menubar (f);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment