After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637139 - Drop EmpathyCellRendererText in favor of GtkCellArea
Drop EmpathyCellRendererText in favor of GtkCellArea
Status: RESOLVED WONTFIX
Product: empathy
Classification: Core
Component: Contact List
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on: 671637
Blocks: 644693
 
 
Reported: 2010-12-13 10:50 UTC by Xavier Claessens
Modified: 2017-06-16 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2010-12-13 10:50:38 UTC
GtkCellArea makes much flexible layout in a GtkTreeView cell. For example the status message below the contact alias can be made using a vertical GtkCellAreaBox containing 2 GtkCellRendererText.

Also the ugly unicode for the mobile can easily replaced by a proper image using an horizontal GtkCellAreaBox containing a GtkCellRendererPixbuf and a GtkCellRendererText.

This is possible using gtk_tree_view_column_new_with_area(column, cell_area) instead of gtk_tree_view_column_pack_start(column, cell_renderer).

Note that this new API is not yet in GTK3 master.
Comment 1 Emilio Pozuelo Monfort 2011-03-19 20:38:50 UTC
AFAICS we can't do this yet (unless we write our own EmpathyCellArea), since you can't pack a CellAreaBox inside another to make something like

http://mail.gnome.org/archives/gtk-app-devel-list/2010-December/msg00049.html

Which we need to do the contact / phone icon / status.

Should be doable without writing any CellArea subclasses once GtkCellAreaTable exists.
Comment 2 Guillaume Desmottes 2012-03-08 11:00:05 UTC
I opened bug #671637 about GtkCellAreaTable.
Comment 3 Debarshi Ray 2017-06-16 21:12:00 UTC
5 years later, GtkCellAreaTable hasn't happened, and empathy is practically unmaintained.