aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Go back to libgee 0.6.x"Guillaume Desmottes2013-02-191-6/+4
| | | | | | This reverts commit 670aec4ba8b16fbf35afdf65b65c1904872286dc. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* Recognize both handheld and phone clienttypes as mobile devicesSjoerd Simons2013-01-031-3/+1
| | | | | | | | | | 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.
* include telepathy-glib.hGuillaume Desmottes2012-09-171-1/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* use tp_contact_dup_contact_info()Guillaume Desmottes2012-09-111-2/+2
| | | | tp_contact_get_contact_info() has been deprecated.
* Go back to libgee 0.6.xGuillaume Desmottes2012-07-231-4/+6
| | | | | | | | | | | | | | It's not clear if 0.8 will be released for GNOME 3.6 so the release team prefers to stick with 0.6 for now. And yeah, gee-1.0 is the 0.6.x series and gee-0.8 the 0.7.x, nice work guys... Revert "gee_iterator_first is no more in libgee 0.8" This reverts commit 24d30e15b34b654eff96f4a358801290ebe09ec0. Revert "libempathy: Port empathy to libgee 0.8." This reverts commit d563fa078b2a13b3c06b1de626105e0510568e57.
* gee_iterator_first is no more in libgee 0.8Alban Browaeys2012-07-191-6/+4
| | | | | | | With folks depending upon libgee-0.8 brealage in empathy arise, that is gee_iterator_first is not available. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* individual-widget: don't display unknown presenceGuillaume Desmottes2012-07-061-7/+18
| | | | | | Best to to not show anything than showing we don't know. https://bugzilla.gnome.org/show_bug.cgi?id=679136
* Don't display parameters if Parameters_Exact is not SetGuillaume Desmottes2012-03-161-1/+1
| | | | | | | There is no point cluttering the UI with it as we don't allow user to choose which param he wants to set. https://bugzilla.gnome.org/show_bug.cgi?id=671983
* individual-widget: display champlain map in tooltipsGuillaume Desmottes2011-12-221-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661500
* individual_grid_destroy: remove the ChamplainEmbedView from its containerGuillaume Desmottes2011-12-221-0/+11
| | | | | | | The EmpathyIndividualWidget object is re-used for tooltips so we should remove the ChamplainEmbedView before trying to add a new one. https://bugzilla.gnome.org/show_bug.cgi?id=661500
* use gtk_box_new() instead of gtk_[h,v]box_new()Guillaume Desmottes2011-11-211-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* use gtk_separator_new() instead of gtk_hseparator_new()Guillaume Desmottes2011-11-211-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-1/+1
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* individual-widget: display channels list if availableGuillaume Desmottes2011-11-161-0/+22
| | | | | | This will be needed when using this widget in MUC. https://bugzilla.gnome.org/show_bug.cgi?id=663763
* update_weak_contact: use a greater or equal comparaisonGuillaume Desmottes2011-11-161-1/+1
| | | | | | | That way we'll pick at least one TpContact if there is only one contact in the individual and he doesn't have any presence (IRC for example). https://bugzilla.gnome.org/show_bug.cgi?id=663763
* individual-widget: factor out add_row()Guillaume Desmottes2011-11-141-14/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663763
* details_update_show: skip empty fieldGuillaume Desmottes2011-11-141-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663763
* individual-widget: port to GtkGridGuillaume Desmottes2011-11-011-11/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* Incorporate updates from empathy-contact-widget into contactinfo-utilsDanielle Madeley2011-10-211-5/+4
| | | | | Update empathy-individual-widget for these changes. This comes from the rebase of this branch.
* Move empathy-contactinfo-utils to libempathy-gtkDanielle Madeley2011-10-211-1/+1
| | | | | | | Why do we still have this annoying split? Rebasing this work will pull in a dependency on empathy-string-parser, which is part of libempathy-gtk. Hence the move.
* Port individual-widget to contactinfo-utilsDanielle Madeley2011-10-211-64/+17
|
* individual-widget: use GtkGrid instead of GtkTableGuillaume Desmottes2011-09-291-9/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660429
* individual-widget: use GtkGrid instead of GtkTable internallyCosimo Cecchi2011-09-131-125/+118
| | | | | | | | | | | | | | | | | 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
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-221-15/+31
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* individual-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-61/+35
| | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* individual-widget: use tp_g_signal_connect_object to connect the ↵Guillaume Desmottes2011-06-201-2/+2
| | | | notify::contact-info signal (#652496)
* Adapt to API change in FolksIndividual::personas-changed.Travis Reitter2011-06-071-8/+33
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-69/+124
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Don't conflate TpfPersona and FolksPersona.Travis Reitter2011-06-071-7/+7
|
* Port all timestamps from time_t to gint64 (#648188)Guillaume Desmottes2011-04-191-4/+2
|
* Adjust for Folks PresenceOwner -> PresenceDetails renameTravis Reitter2011-03-151-12/+13
| | | | | Fixes bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Groupable -> GroupDetails renameTravis Reitter2011-03-151-2/+2
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Favouritable -> FavouriteDetails renameTravis Reitter2011-03-151-4/+4
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Aliasable -> AliasDetails renameTravis Reitter2011-03-151-5/+6
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* use champlain_view_ensure_layers_visible()Guillaume Desmottes2011-02-211-3/+1
|
* use champlain_marker_layer_new()Guillaume Desmottes2011-02-211-1/+1
|
* Port to champlain 0.10 (#642010)Guillaume Desmottes2011-02-211-17/+12
|
* Bug 637151 — Hide the user Individual from the contact listPhilip Withnall2011-02-181-10/+10
| | | | | | | | | | Generalise the mechanism used to determine whether a persona is to be displayed by Empathy to also take into account whether the persona is the user and, if so, whether they're in the contact list. This bumps the libfolks dependency to 0.3.5. Closes: bgo#637151
* individual-widget: use empathy_context_menu_new()Guillaume Desmottes2011-02-161-4/+1
|
* individual-widget: use priv->contact as that's our pointer on the TpContact nowGuillaume Desmottes2011-02-021-2/+1
|
* individual-widget: connect on the notify::client-types only onceGuillaume Desmottes2011-02-011-10/+14
| | | | | Reconnecting a signal while you are handling it isn't exactly a good idea as it will result in an infinite loop eating all your memory (#635105).
* Adjust for FolksHasPresence -> FolksPresenceOwnerTravis Reitter2011-02-011-12/+12
| | | | Fixes bgo#637847.
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-12/+17
| | | | | Catch up with three interface renamings which have happened in folks master. This bumps Empathy's folks dependency to 0.3.3. Closes: bgo#637097
* Bug 631096 — Should not mention "meta contacts" in UIPhilip Withnall2010-12-131-2/+6
| | | | | Change all occurrences of “meta-contacts” in translatable strings to use the phrase “linked contacts” instead. Closes: bgo#631096
* Only check for presence in presence-enabled personas 2.0Emilio Pozuelo Monfort2010-11-161-1/+7
|
* individual-widget: show a "on a phone" label in the individual viewJonny Lamb2010-11-161-43/+114
| | | | | | | | Also refactor having a TpContact in the EmpathyIndividualViewPriv struct, so that contact info and client types info use the same TpContact. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* individual-widget: set xalign on the status message (#632434)Guillaume Desmottes2010-10-181-0/+1
| | | | Seems the default changed in GTK3.
* Port Empathy to use FolksAliasable and FolksGroupablePhilip Withnall2010-10-051-6/+6
| | | | | FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
* remove EmpathyKludgeLabelGuillaume Desmottes2010-10-041-3/+1
| | | | It shouldn't be needed any more with GTK-3.
* Handle the EmpathyIndividualWidget disappearing during an async details callPhilip Withnall2010-09-031-3/+6
| | | | | | The EmpathyIndividualWidget may be destroyed between starting and finishing an async call to get contact details. This patch prevents the finishing callback from accessing private data which may have been freed.
* Don't try to update EmpathyIndividualWidget's location without an IndividualPhilip Withnall2010-09-031-1/+2
|
* Listen to FolksIndividual::removed in EmpathyIndividualWidgetPhilip Withnall2010-09-031-0/+12
| | | | | | | | | In certain cases, a tooltip will be updated on the contact list when unlinking a meta-contact (reproducable with a meta-contact of meta-contacts). In order to prevent an individual table from getting stuck in the EmpathyIndividualWidget in the tooltip, EmpathyIndividualWidget needs to connect to FolksIndividual::removed to be updated when the Individual is removed or replaced.
* Ensure all persona tables are removed from EmpathyIndividualWidgetPhilip Withnall2010-09-011-0/+2
| | | | | | | In the case that EmpathyIndividualWidget is going from showing Personas to showing an Individual table, ensure that all persona tables are removed from the widget, including those for Personas who're being removed from the Individual. Closes: bgo#628481
* Fix calculation of the number of new personas in EmpathyIndividualWidgetPhilip Withnall2010-08-301-2/+7
|
* Port EmpathyIndividualWidget to use Individual.personas_changedPhilip Withnall2010-08-301-58/+61
| | | | | This makes the notification of changed Personas a lot more efficient in the widget. Helps: bgo#627706
* remove markups around 'Location'Guillaume Desmottes2010-08-271-1/+5
|
* Fix selectable labels in EmpathyIndividualWidgetPhilip Withnall2010-08-261-8/+11
| | | | | Ensure that labels in EmpathyIndividualWidget are only selectable if the widget isn't in tooltip mode. Closes: bgo#627917
* Don't leak a reference when updating an IndividualWidget.Travis Reitter2010-08-241-0/+2
|
* individual-widget: adapt number of rows to the features neededGuillaume Desmottes2010-08-231-3/+7
|
* Display the number of personas only in tooltipsGuillaume Desmottes2010-08-231-19/+25
|
* Fix some visual breakage of EmpathyIndividualWidget in tooltipsPhilip Withnall2010-08-201-6/+11
| | | | It was expanding too much and leaking out of the tooltip balloon.
* Bug 627360 — "Information" of a meta contact is too big for the screenPhilip Withnall2010-08-201-0/+39
| | | | | Add a GtkScrolledWindow to EmpathyIndividualWidget in the case that it's showing personas. Closes: bgo#627360
* Expand EmpathyIndividualWidgetPhilip Withnall2010-08-201-49/+1787
| | | | | It's now a fully-fledged widget of its own, rather than a thin wrapper around EmpathyContactWidget. Closes: bgo#626728
* Add EmpathyIndividualWidgetPhilip Withnall2010-08-121-0/+257
This displays details for a single Individual, in much the same way that EmpathyContactWidget displays the details of a single Persona.