diff src/xmenu.c @ 25884:1bdd14c5ed64

(set_frame_menubar, xmenu_show): Call x_set_menu_resources_from_menu_face.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 06 Oct 1999 23:13:21 +0000
parents db88a4b84d91
children b89acbeca64b
line wrap: on
line diff
--- a/src/xmenu.c	Wed Oct 06 23:09:44 1999 +0000
+++ b/src/xmenu.c	Wed Oct 06 23:13:21 1999 +0000
@@ -1545,7 +1545,6 @@
 
   /* Force the pane widget to resize itself with the right values.  */
   EmacsFrameSetCharSize (x->edit_widget, columns, rows);
-
   UNBLOCK_INPUT;
 }
 
@@ -1789,8 +1788,8 @@
     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);
 
   UNBLOCK_INPUT;
@@ -2135,6 +2134,7 @@
 
   /* Display the menu.  */
   lw_popup_menu (menu, &dummy);
+  x_set_menu_resources_from_menu_face (f, menu);
   popup_activated_flag = 1;
 
   /* Process events that apply to the menu.  */