From fc6c5dfed86640113a9db3e8f66b29f8d88ba8e9 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 19 Jun 2000 22:09:06 +0000 Subject: [PATCH] (x_load_resources): Set default resources for resource classes instead of for the specific Emacs. --- src/xrdb.c | 14 +++++--------- 1 file 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 */ -- 2.39.2