This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Change Windows menu font.


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).

Keith

> ChangeLog:
> 2002-02-25  Ian Roxborough  <irox@redhat.com>
>
>         * src/library/looknfeel.tcl (standard_look_and_feel):
>         Hard code Windows menu font name to MS Sans Serif 8.
>
>
> Index: 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/25 20:15:09
> @@ -33,5 +33,5 @@
>      set actual(-slant) italic
>      eval define_font global/italic [array get actual]
> -    define_font global/menu -family windows-menu
> +    define_font global/menu -family {MS Sans Serif} -size 8
>    } else {
>      set size 12
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]