comparison src/xmenu.c @ 26036:b89acbeca64b

(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.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 15 Oct 1999 15:15:43 +0000
parents 1bdd14c5ed64
children b7aa6ac26872
comparison
equal deleted inserted replaced
26035:19ea0123f19d 26036:b89acbeca64b
1539 XtVaSetValues (x->menubar_widget, XtNmappedWhenManaged, 1, 0); 1539 XtVaSetValues (x->menubar_widget, XtNmappedWhenManaged, 1, 0);
1540 } 1540 }
1541 1541
1542 /* Re-manage the text-area widget, and then thrash the sizes. */ 1542 /* Re-manage the text-area widget, and then thrash the sizes. */
1543 XtManageChild (x->edit_widget); 1543 XtManageChild (x->edit_widget);
1544 x_set_menu_resources_from_menu_face (f, x->menubar_widget);
1544 lw_refigure_widget (x->column_widget, True); 1545 lw_refigure_widget (x->column_widget, True);
1545 1546
1546 /* Force the pane widget to resize itself with the right values. */ 1547 /* Force the pane widget to resize itself with the right values. */
1547 EmacsFrameSetCharSize (x->edit_widget, columns, rows); 1548 EmacsFrameSetCharSize (x->edit_widget, columns, rows);
1548 UNBLOCK_INPUT; 1549 UNBLOCK_INPUT;
1786 #endif /* 0 */ 1787 #endif /* 0 */
1787 1788
1788 f->output_data.x->menubar_height = menubar_size; 1789 f->output_data.x->menubar_height = menubar_size;
1789 } 1790 }
1790 1791
1791 x_set_menu_resources_from_menu_face (f, f->output_data.x->menubar_widget);
1792 free_menubar_widget_value_tree (first_wv); 1792 free_menubar_widget_value_tree (first_wv);
1793 update_frame_menubar (f); 1793 update_frame_menubar (f);
1794 1794
1795 UNBLOCK_INPUT; 1795 UNBLOCK_INPUT;
1796 } 1796 }