]> git.0d.be Git - empathy.git/commit
Call window: Ellipsize alias and status
authorSjoerd Simons <sjoerd@luon.net>
Sun, 20 May 2012 17:59:29 +0000 (19:59 +0200)
committerSjoerd Simons <sjoerd@luon.net>
Mon, 21 May 2012 11:54:00 +0000 (13:54 +0200)
commit7e7a60c59f7e07612cdbc5e547dbb9a1151834ab
tree95145d71e969448ca974bd8a93b5ce007fd34e53
parent6b19934b9a237b648f36b0da943bde046b6488c0
Call window: Ellipsize alias and status

If the user alias is too long both the hangup and the dialpad buttons
get pushed into a drop-down menu. Even worse when the alias doesn't fit,
it just isn't shown at all anymore.

Given the username is already printed in the title and the user tends to
know who they're calling with, ellipsizing the alias isn't an issue.
Which has the nice side-effect of keeping the hangup and dialpad buttons
on the toolbar in all cases like they should be.

Unfortunately as pango doesn't ellipsize if it still has enough height
left to put more lines in. So put the alias and status in seperate
labels in a vbox which isn't set to fill.
src/empathy-call-window.c
src/empathy-call-window.ui