]> git.0d.be Git - empathy.git/commit
individual-widget: use GtkGrid instead of GtkTable internally
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 12 Sep 2011 20:52:34 +0000 (16:52 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 13 Sep 2011 13:26:33 +0000 (09:26 -0400)
commit40bf91b05f4d3408e195b4a1218de673d6ee7fbf
tree5f4e9728e7e0bbcd6a8cc0a60c8b968090f5172b
parent0a3f996d2ec2eed860edda7c36a9b6bdbd9d2722
individual-widget: use GtkGrid instead of GtkTable internally

EmpathyIndividualWidget (used both in the contact information dialogs
and in the tooltips) use a GtkTable internally to layout contact
details.

GtkTable is being deprecated, and does not correctly support
width-for-height size negotiation. So, there are cases where we get
funny overallocations bugs for wrapping GtkLabels; this is especially
annoying for tooltips, as they tend to grow huge vertically.

Porting the code to use a better container such as GtkGrid solves the
bug. This patch does not cover all the use of GtkTable in
EmpathyIndividualWidget, but enough to fix the tooltip sizing.

https://bugzilla.gnome.org/show_bug.cgi?id=658857
libempathy-gtk/empathy-individual-widget.c