comparison src/xfaces.c @ 36996:46d9cc8def79

(x_update_menu_appearance): Use local variable popup_path for setting font resources.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 26 Mar 2001 12:04:06 +0000
parents 22c5aa03d4aa
children ee6711c482a3
comparison
equal deleted inserted replaced
36995:eba40b9dc09b 36996:46d9cc8def79
4413 const char *suffix = ""; 4413 const char *suffix = "";
4414 #endif 4414 #endif
4415 sprintf (line, "%s.pane.menubar*font%s: %s", 4415 sprintf (line, "%s.pane.menubar*font%s: %s",
4416 myname, suffix, face->font_name); 4416 myname, suffix, face->font_name);
4417 XrmPutLineResource (&rdb, line); 4417 XrmPutLineResource (&rdb, line);
4418 sprintf (line, "%s.popup_menu*font%s: %s", 4418 sprintf (line, "%s.%s*font%s: %s",
4419 myname, suffix, face->font_name); 4419 myname, popup_path, suffix, face->font_name);
4420 XrmPutLineResource (&rdb, line); 4420 XrmPutLineResource (&rdb, line);
4421 changed_p = 1; 4421 changed_p = 1;
4422 } 4422 }
4423 4423
4424 if (changed_p && f->output_data.x->menubar_widget) 4424 if (changed_p && f->output_data.x->menubar_widget)