From: Dave Love Date: Mon, 19 Jun 2000 22:09:06 +0000 (+0000) Subject: (x_load_resources): Set default resources for resource X-Git-Tag: emacs-pretest-21.0.90~3230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc6c5dfed86640113a9db3e8f66b29f8d88ba8e9;p=emacs.git (x_load_resources): Set default resources for resource classes instead of for the specific Emacs. --- 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 */