From: Ian Roxborough <irox@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: insight@sources.redhat.com
Subject: Re: [RFA] Change Windows menu font.
Date: Mon, 25 Feb 2002 16:10:00 -0000 [thread overview]
Message-ID: <3C7AE405.C2C33003@redhat.com> (raw)
In-Reply-To: <Pine.GSO.4.33.0202251304160.5961-100000@makita.cygnus.com>
Keith Seitz wrote:
>
> On Mon, 25 Feb 2002, Ian Roxborough wrote:
>
> > this little patch makes the fonts in the menus
> > consistant with the menu bars for MS-Windows.
>
> Approved, but could you add a comment about how we used to use the defined
> fonts "windows-menu" and friends, but the necessary machinery in the tk
> core is no longer available (because apparently scriptics didn't care).
I've checked it in, here's the patch with additional comments,
for the archives.
Ian.
Index: library/looknfeel.tcl
===================================================================
RCS file: /cvs/src/src/libgui/library/looknfeel.tcl,v
retrieving revision 1.3
diff -u -2 -r1.3 looknfeel.tcl
--- looknfeel.tcl 2001/10/11 03:29:54 1.3
+++ looknfeel.tcl 2002/02/26 00:07:46
@@ -33,5 +33,9 @@
set actual(-slant) italic
eval define_font global/italic [array get actual]
- define_font global/menu -family windows-menu
+
+ # The menu font used to be set via the "windows-menu"
+ # font family, however this seems to have been deprecated
+ # for Tcl/Tk version 8.3, so we hard code it instead.
+ define_font global/menu -family {MS Sans Serif} -size 8
} else {
set size 12
next prev parent reply other threads:[~2002-02-26 0:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-25 12:28 Ian Roxborough
2002-02-25 13:05 ` Keith Seitz
2002-02-25 16:10 ` Ian Roxborough [this message]
2002-02-25 16:38 ` Keith Seitz
2002-02-25 16:47 ` Ian Roxborough
2002-02-25 16:49 ` Keith Seitz
2002-02-25 17:42 ` Ian Roxborough
2002-02-25 17:17 ` Syd Polk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C7AE405.C2C33003@redhat.com \
--to=irox@redhat.com \
--cc=insight@sources.redhat.com \
--cc=keiths@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).