diff options
author | Gustavo Noronha Silva <gustavo.noronha@collabora.com> | 2011-06-21 20:53:55 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gustavo.noronha@collabora.com> | 2011-06-28 02:38:05 +0800 |
commit | 1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01 (patch) | |
tree | 8e71c517cc1c20cc8ec9911dca5544cb947e5490 /mail/e-mail-session-utils.c | |
parent | 1dee8198ac409e65a588557ce7c3c7b71bedb68c (diff) | |
download | gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar.gz gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar.bz2 gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar.lz gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar.xz gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.tar.zst gsoc2013-evolution-1fe3a4c564c9d28a9291c2cbc0dbbb97f2140a01.zip |
Limit the size of tab labels to a reasonable size
We use half the size allocated to the whole view as a reference, and
force the label to be at most that size, taking advantage of ellipsis
otherwise. Notice that we also force the natural size as the requested
size if it is not too big as well, because labels ellipsisized using
the minimum size usually, which is undesired.
This is a fix for https://bugs.meego.com/show_bug.cgi?id=18313
Diffstat (limited to 'mail/e-mail-session-utils.c')
0 files changed, 0 insertions, 0 deletions