]> Pileus Git - ~andy/gtk/commit
widget: Add hack to make label mnemonics work again
authorBenjamin Otte <otte@redhat.com>
Tue, 26 Apr 2011 12:07:27 +0000 (14:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 26 Apr 2011 12:15:34 +0000 (14:15 +0200)
commit9bb145a677c3c9fa3266ae6999414f441016d93f
treeac142804d7b886fd00002f26bae2c4882515379b
parent7ae4a06d1f2591a95f521660a587b3d28a756e69
widget: Add hack to make label mnemonics work again

Mnemonics for characters that go beyond the baseline (q, y, g) were not
being shown, because they are drawn outside of the label's allocated
size.
This patch just disables the clip-to-size for labels, so that the label
can draw outsize of its allocation. In most cases, that works around
this bug.

https://bugzilla.gnome.org/show_bug.cgi?id=648570
gtk/gtkwidget.c