Mercurial > emacs
changeset 33084:31fae82503f7
(x_load_resources): Use the class name in the defaults.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 30 Oct 2000 21:55:21 +0000 |
parents | 1cbb720d4c77 |
children | 7c4289b4f5aa |
files | src/xrdb.c |
diffstat | 1 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xrdb.c Mon Oct 30 20:46:02 2000 +0000 +++ b/src/xrdb.c Mon Oct 30 21:55:21 2000 +0000 @@ -542,37 +542,37 @@ will use some other default font. */ #ifdef USE_MOTIF - sprintf (line, "%s.pane.background: grey75", myname); + sprintf (line, "%s.pane.background: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fontList: %s", myname, helv); + sprintf (line, "%s*fontList: %s", myclass, helv); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*menu*background: grey75", myname); + sprintf (line, "%s*menu*background: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*menubar*background: grey75", myname, helv); + sprintf (line, "%s*menubar*background: grey75", myclass, helv); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*verticalScrollBar.background: grey75", myname); + sprintf (line, "%s*verticalScrollBar.background: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*verticalScrollBar.troughColor: grey75", myname); + sprintf (line, "%s*verticalScrollBar.troughColor: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s.dialog*.background: grey75", myname); + sprintf (line, "%s.dialog*.background: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb.Text.background: white", myname); + sprintf (line, "%s*fsb.Text.background: white", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb.FilterText.background: white", myname); + sprintf (line, "%s*fsb.FilterText.background: white", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb*DirList.background: white", myname); + sprintf (line, "%s*fsb*DirList.background: white", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb*ItemsList.background: white", myname); + sprintf (line, "%s*fsb*ItemsList.background: white", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb*background: grey75", myname); + sprintf (line, "%s*fsb*background: grey75", myclass); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb.Text.fontList: %s", myname, courier); + sprintf (line, "%s*fsb.Text.fontList: %s", myclass, courier); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb.FilterText.fontList: %s", myname, courier); + sprintf (line, "%s*fsb.FilterText.fontList: %s", myclass, courier); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb*ItemsList.fontList: %s", myname, courier); + sprintf (line, "%s*fsb*ItemsList.fontList: %s", myclass, courier); XrmPutLineResource (&rdb, line); - sprintf (line, "%s*fsb*DirList.fontList: %s", myname, courier); + sprintf (line, "%s*fsb*DirList.fontList: %s", myclass, courier); XrmPutLineResource (&rdb, line); /* Set double click time of list boxes in the file selection @@ -580,10 +580,10 @@ if (INTEGERP (Vdouble_click_time) && XINT (Vdouble_click_time) > 0) { sprintf (line, "%s*fsb*DirList.doubleClickInterval: %d", - myname, XFASTINT (Vdouble_click_time)); + myclass, XFASTINT (Vdouble_click_time)); XrmPutLineResource (&rdb, line); sprintf (line, "%s*fsb*ItemsList.doubleClickInterval: %d", - myname, XFASTINT (Vdouble_click_time)); + myclass, XFASTINT (Vdouble_click_time)); XrmPutLineResource (&rdb, line); }