aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-store.c
Commit message (Collapse)AuthorAgeFilesLines
* contact_list_store_get_contact_status_icon_with_icon_name: early return if ↵Guillaume Desmottes2010-01-121-0/+3
| | | | icon_name is NULL
* remove debug message when creating or retrieving a status icon from the cacheGuillaume Desmottes2010-01-061-3/+1
|
* no need to export contact_list_store_get_contact_status_icon any moreGuillaume Desmottes2009-12-171-17/+16
|
* contact_list: displays an icon showing the protocol by the contact (#603877)chantra2009-12-171-3/+140
|
* Fixed some of Gillaume's review comments from Bug #571642Jonathon Jongsma2009-11-191-44/+38
| | | | | | | | | | | | | | | | | The following comments should be fixed in this commit: - tp_group_update_members: add "old" and "new" in comments so we known which contact we are talking about. - Always use TpHandle instead of guint when storing handles in variables. - contact_list_store_member_renamed_cb: would be good to share the common code with contact_list_store_members_changed_cb in a common function One comment about the last one: I split out common code into two new functions: contact_list_store_add_contact_and_connect(), and the matching contact_list_store_remove_contact_and_disconnect(). I wondered whether the signal connection/disconnection should just be added to the _add_contact() and _remove_contact() functions directly, but they do seem to be used in other places without connecting to signals, so i thought it would be safer to simply add some wrapper functions.
* Handle the case where a user's id changes in a chatroomJonathon Jongsma2009-11-191-0/+56
| | | | | | | | | | | | | | | | | Telepathy-glib has a enum value for the MembersChanged signal to signify that a user's ID has changed. Previously, empathy was simply interpreting this as if a user with the old name had left the chat and a different user with the new name had entered the chat. This change handles this case more gracefully by updating the contact's id (and name) when this change reason is present One thing that does not yet work with this patch is if you are engaged in a private chat with a person and they change their nick in the middle of the chat. Then the EmpathyContact* that you are chatting with is no longer the EmpathyContact* representing the remote user, so messages won't be delivered properly. When we detect that a user has been 'renamed', we probably need to somehow go through all of the private chats with that person and swap out the old (invalid) EmpathyContact* and replace it with the new one so that the chat can continue without interruption.
* empathy-contact-list-store.c: fix shadow declarationsGuillaume Desmottes2009-10-211-4/+3
|
* rename contact_list_store_finalize to contact_list_store_disposeGuillaume Desmottes2009-10-191-4/+9
| | | | | This method just disconnect signals, release references and remove idle callbacks so it should really be a dispose, not a finalize.
* empathy-contact-list-store: remove the setup idle cb when store is destroyedGuillaume Desmottes2009-10-191-1/+7
| | | | | This ensures that the setup cb isn't called on a destroyed object (#598452).
* Ensure we don't add the same contact twice at the top-levelSjoerd Simons2009-09-141-0/+18
|
* Init flags to 0 to make sure it is never undefinedXavier Claessens2009-07-291-4/+1
|
* Handle the case where priv->list is not an EmpathyContactManagerDavyd Madeley2009-07-151-1/+5
|
* Add a FLAGS column to EmpathyContactListStoreDavyd Madeley2009-07-151-13/+27
|
* empathy-contact-list-store: remove trailing tabsGuillaume Desmottes2009-06-251-5/+5
|
* Invert the presence order.Xavier Claessens2009-06-031-1/+1
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-32/+4
|
* Show an audio and a video call buttonSjoerd Simons2009-05-181-4/+20
|
* empathy-contact-list-store: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-6/+6
|
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* Back out changes in EmpathyContactListStore. They could go in a laterXavier Claessens2009-01-071-229/+192
| | | | | | branch. svn path=/trunk/; revision=2086
* Always disconnect signals for safety on _finalize ().Xavier Claessens2009-01-071-0/+27
| | | | svn path=/trunk/; revision=2062
* Port EmpathyContactListStore to the new API.Xavier Claessens2009-01-071-193/+203
| | | | svn path=/trunk/; revision=2053
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-7/+5
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-43/+34
| | | | svn path=/trunk/; revision=1066
* Remove conditional build of VOIP.Xavier Claessens2008-04-241-1/+0
| | | | svn path=/trunk/; revision=1038
* Add a contact in the roster as soon as it has a name, don't wait for the ID. ↵Xavier Claessens2008-04-161-1/+1
| | | | | | Fixes bug #528287. svn path=/trunk/; revision=955
* fix bug #526374.Xavier Claessens2008-04-141-40/+17
| | | | svn path=/trunk/; revision=943
* Fix bug #525084.Xavier Claessens2008-04-141-1/+2
| | | | svn path=/trunk/; revision=942
* fix indentationXavier Claessens2008-03-161-2/+1
| | | | svn path=/trunk/; revision=804
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-111-7/+7
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* Never show avatars in compact mode. Fixes #475789 (Marco Barisione).Xavier Claessens2008-03-111-1/+5
| | | | svn path=/trunk/; revision=734
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-24/+12
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Do not take show_groups in empathy_contact_list_store_newXavier Claessens2008-01-211-3/+1
| | | | svn path=/trunk/; revision=587
* Add a property to have or not groups on EmpathyContactListStoreXavier Claessens2008-01-211-36/+146
| | | | svn path=/trunk/; revision=586
* Add a features property on EmpathyContactListView to enable/disable each action.Xavier Claessens2008-01-211-1/+0
| | | | svn path=/trunk/; revision=585
* Fix state order to have offline contacts last. Fixes bug #509906.Xavier Claessens2008-01-181-1/+27
| | | | svn path=/trunk/; revision=574
* Rename COL_XXX to EMPATHY_CONTACT_LIST_STORE_COL_XXX since it's in publicXavier Claessens2007-10-291-63/+64
| | | | | | | | | | | | | | | 2007-10-28 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: * doc/libempathy-gtk/libempathy-gtk.types: * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Rename COL_XXX to EMPATHY_CONTACT_LIST_STORE_COL_XXX since it's in public API. Fixes bug #470804. svn path=/trunk/; revision=405
* Use g_timeout_add_seconds when appropriated to avoid weaking the processXavier Claessens2007-10-131-10/+10
| | | | | | | | | | | | | | | | | | 2007-10-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-idle.c: * tests/contact-manager.c: Use g_timeout_add_seconds when appropriated to avoid weaking the process too much. svn path=/trunk/; revision=370
* Disconnect signals on list and contacts when finalizing the store.Xavier Claessens2007-10-011-1/+35
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-store.c: Disconnect signals on list and contacts when finalizing the store. svn path=/trunk/; revision=345
* Adding UI to start a VoIP call. It does nothing yet. Most of the code isXavier Claessens2007-09-091-11/+15
| | | | | | | | | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-chat.glade: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-contact.c: * libempathy/empathy-contact.h: Adding UI to start a VoIP call. It does nothing yet. Most of the code is ported from Gossip patch (Raphael Slinckx, Xavier Claessens). svn path=/trunk/; revision=292
* Make use of the search function to correctly find when typing in theXavier Claessens2007-09-081-6/+6
| | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: Make use of the search function to correctly find when typing in the contact list view. Fixes bug #472309 (Will Thompson, Xavier Claessens). svn path=/trunk/; revision=290
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-224/+149
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Remove empathy-marshal-main.c and include empathy-marshal.h fromMarco Barisione2007-08-081-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-07 Marco Barisione <marco@barisione.org> * libempathy/Makefile.am: * libempathy/empathy-marshal-main.c: Remove empathy-marshal-main.c and include empathy-marshal.h from empathy-marshal.c. * libempathy/Makefile.am: * libempathy-gtk/Makefile.am: Generate files for enum types with glib-mkenums. * libempathy/empathy-contact.c: * libempathy/empathy-idle.c: * libempathy/empathy-message.c: * libempathy/empathy-presence.c: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-preferences.c: * doc/libempathy-gtk/libempathy-gtk.types: * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Use g_param_spec_enum() and g_param_spec_flags() instead of g_param_spec_(u)int. Fixes bug #462465. * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: Remove empathy_contact_list_store_sort_get_type() as it's now auto-generated by glib-mkenums. svn path=/trunk/; revision=234
* Show avatars by default.Xavier Claessens2007-07-141-0/+1
| | | | | | | | | 2007-07-14 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-store.c: Show avatars by default. svn path=/trunk/; revision=188
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+1484
2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170