changeset 29755:ab23e43de97d

(x_load_resources): Set default resources for resource classes instead of for the specific Emacs.
author Dave Love <fx@gnu.org>
date Mon, 19 Jun 2000 22:09:06 +0000
parents a1149eb06423
children cbadbdc3bad2
files src/xrdb.c
diffstat 1 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Mon Jun 19 21:59:46 2000 +0000
+++ b/src/xrdb.c	Mon Jun 19 22:09:06 2000 +0000
@@ -587,19 +587,15 @@
 
 #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);
-  XrmPutLineResource (&rdb, line);
-  sprintf (line, "%s.menu*.font: %s", myname, helv);
+  sprintf (line, "*XlwMenu*font: %s", helv);
   XrmPutLineResource (&rdb, line);
-  sprintf (line, "%s.menu*.background: grey75", myname);
+  sprintf (line, "*XlwMenu*background: grey75");
   XrmPutLineResource (&rdb, line);
-  sprintf (line, "%s*verticalScrollBar.background: grey75", myname);
+  sprintf (line, "Emacs*verticalScrollBar.background: grey75");
   XrmPutLineResource (&rdb, line);
   
 #endif /* not USE_MOTIF */