changeset 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 19ea0123f19d
children f7b5dafed515
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Fri Oct 15 15:15:07 1999 +0000
+++ b/src/xmenu.c	Fri Oct 15 15:15:43 1999 +0000
@@ -1541,6 +1541,7 @@
 
   /* Re-manage the text-area widget, and then thrash the sizes.  */
   XtManageChild (x->edit_widget);
+  x_set_menu_resources_from_menu_face (f, x->menubar_widget);
   lw_refigure_widget (x->column_widget, True);
 
   /* Force the pane widget to resize itself with the right values.  */
@@ -1788,7 +1789,6 @@
     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);
   update_frame_menubar (f);