diff options
author | Dave Love <fx@gnu.org> | 2000-06-19 22:09:06 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-06-19 22:09:06 +0000 |
commit | fc6c5dfed86640113a9db3e8f66b29f8d88ba8e9 (patch) | |
tree | a1b912f7a9af785f46a4477f6df5be541b62906d | |
parent | 2a90cd71a89f85f338a1a8ab99d94ac584376e23 (diff) | |
download | emacs-fc6c5dfed86640113a9db3e8f66b29f8d88ba8e9.tar.gz |
(x_load_resources): Set default resources for resource
classes instead of for the specific Emacs.
-rw-r--r-- | src/xrdb.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index ed3628f5265..c6ea08f0ae6 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 */ |