]> git.0d.be Git - empathy.git/commit
Recognize both handheld and phone clienttypes as mobile devices
authorSjoerd Simons <sjoerd@luon.net>
Thu, 3 Jan 2013 10:42:13 +0000 (11:42 +0100)
committerSjoerd Simons <sjoerd@luon.net>
Thu, 3 Jan 2013 14:30:47 +0000 (15:30 +0100)
commit55ce28ebe490bc803dd524970ebb187402bb6031
tree9add34c7bd5b98583fa64feb6ed04c2a7d168dfb
parent05c170e3de251f2161e9ff5bb1eac4785cdc91da
Recognize both handheld and phone clienttypes as mobile devices

Empathy currently displays a phone icon for clients which indicate that
they're phones. However some mobile clients use the "handheld" client
type instead (e.g. Xabber on android devices).

While changing things around, i've also refactored the code a bit to
ensure that the determination will stay consistent in the various
location if it's changed in future.
libempathy-gtk/empathy-cell-renderer-text.c
libempathy-gtk/empathy-individual-widget.c
libempathy-gtk/empathy-roster-contact.c
libempathy/empathy-utils.c
libempathy/empathy-utils.h
src/empathy-chat-window.c