зеркало из https://github.com/github/putty.git
Enable the display of server-side font aliases by default in my font
selector. I had previously been worried that the default of not showing aliases interacted badly with the default actual font _being_ specified as an alias. One of those defaults had to change, and I've decided which: `fixed' is staying as Unix PuTTY's default font in defiance of GTK2's vigorous encouragement of Pango. [originally from svn r7960]
This commit is contained in:
Родитель
6a743399b0
Коммит
29d875f7da
|
@ -3,13 +3,6 @@ TODO for PuTTY GTK2 port before merging back into main trunk code
|
|||
|
||||
Things to do before deciding a merge is feasible:
|
||||
|
||||
- Although I'm still stubbornly _supporting_ X11 fonts alongside
|
||||
Pango ones in defiance of standard GTK2 policy, it might be a
|
||||
good idea to at least switch the default font to Pango's
|
||||
Monospace 12, not least so that font aliases don't come up
|
||||
selected by default. Then again, perhaps keeping fixed as the
|
||||
default is more traditional. Hmm.
|
||||
|
||||
- gtkcols.c is currently a minimal-work GTK2 port of my original
|
||||
GTK1 implementation. Someone should go through it and compare it
|
||||
to a real GTK2 container class, to make sure there aren't any
|
||||
|
|
|
@ -2304,7 +2304,8 @@ unifontsel *unifontsel_new(const char *wintitle)
|
|||
gtk_table_attach(GTK_TABLE(table), w, 0, 3, 7, 8, GTK_FILL, 0, 0, 0);
|
||||
|
||||
assert(i == lenof(fs->filter_buttons));
|
||||
fs->filter_flags = FONTFLAG_CLIENTSIDE | FONTFLAG_SERVERSIDE;
|
||||
fs->filter_flags = FONTFLAG_CLIENTSIDE | FONTFLAG_SERVERSIDE |
|
||||
FONTFLAG_SERVERALIAS;
|
||||
unifontsel_set_filter_buttons(fs);
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче