summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-22 22:05:37 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-22 22:05:37 +0000
commit06bbf618699ec5166f4924ed2d0f2e06e2984c5d (patch)
treecb38bf5658f29eb4607bf2b8d303680eaf6e5c3a
parent72d9b5b37f763cfae9f2a5e20cc12e7f81563075 (diff)
downloademacs-06bbf618699ec5166f4924ed2d0f2e06e2984c5d.tar.gz
(x_load_resources): Add default resource for scroll bar's
trough color and main window's background color.
-rw-r--r--src/xrdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index 72d4deab3a5..82603c75fed 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -542,6 +542,8 @@ x_load_resources (display, xrm_string, myname, myclass)
will use some other default font. */
#ifdef USE_MOTIF
+ sprintf (line, "%s.pane.background: grey75", myname);
+ XrmPutLineResource (&rdb, line);
sprintf (line, "%s*fontList: %s", myname, helv);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*menu*background: grey75", myname);
@@ -550,6 +552,8 @@ x_load_resources (display, xrm_string, myname, myclass)
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*verticalScrollBar.background: grey75", myname);
XrmPutLineResource (&rdb, line);
+ sprintf (line, "%s*verticalScrollBar.troughColor: grey75", myname);
+ XrmPutLineResource (&rdb, line);
sprintf (line, "%s.dialog*.background: grey75", myname);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*fsb.Text.background: white", myname);