aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-06-19 22:09:06 +0000
committerDave Love <[email protected]>2000-06-19 22:09:06 +0000
commitfc6c5dfed86640113a9db3e8f66b29f8d88ba8e9 (patch)
treea1b912f7a9af785f46a4477f6df5be541b62906d
parent2a90cd71a89f85f338a1a8ab99d94ac584376e23 (diff)
(x_load_resources): Set default resources for resource
classes instead of for the specific Emacs.
-rw-r--r--src/xrdb.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index ed3628f526..c6ea08f0ae 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -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 */