Commit fc6c5dfe authored by Dave Love's avatar Dave Love
Browse files

(x_load_resources): Set default resources for resource

classes instead of for the specific Emacs.
parent 2a90cd71
......@@ -587,19 +587,15 @@ x_load_resources (display, xrm_string, myname, myclass)
#else /* not USE_MOTIF */
sprintf (line, "%s.dialog*.font: %s", myname, helv);
sprintf (line, "Emacs.dialog*.font: %s", helv);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s.dialog*.background: grey75", myname);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s.pane.menubar.font: %s", myname, helv);
sprintf (line, "Emacs.dialog*.background: grey75");
XrmPutLineResource (&rdb, line);
sprintf (line, "%s.pane.menubar.background: grey75", myname);
sprintf (line, "*XlwMenu*font: %s", helv);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s.menu*.font: %s", myname, helv);
sprintf (line, "*XlwMenu*background: grey75");
XrmPutLineResource (&rdb, line);
sprintf (line, "%s.menu*.background: grey75", myname);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*verticalScrollBar.background: grey75", myname);
sprintf (line, "Emacs*verticalScrollBar.background: grey75");
XrmPutLineResource (&rdb, line);
#endif /* not USE_MOTIF */
......
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