aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-store.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+3
| | | | Added missing default cases and missing enum cases.
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-13/+13
| | | | The "name" API was a relic of Gossip.
* Rely on compare_separator_and_groups when either A or B isn't a contactSjoerd Simons2010-06-201-4/+3
| | | | | | We can't rely on the fact that compare_separator_and_groups only returns 0 in the case it compares two contacts. But we can completely rely on its result if we give it at least one non-contact.
* Now that we depend on the logger always enable favourite contact supportSjoerd Simons2010-06-201-2/+0
|
* Pick the right sort function earlySjoerd Simons2010-06-201-4/+4
| | | | | | We can't assume that the group and seperator sorting function never returns 0, so don't use that to imply that both A and B are contacts. Instead just check if A and B are contacts...
* Throw a warning if the contact sort function didn't get two contactsSjoerd Simons2010-06-201-0/+2
|
* Remove the treeview's build-in search function, we use the live search now.Xavier Claessens2010-06-171-42/+0
|
* refactored how contacts are added to the storeFelix Kaser2010-06-091-19/+7
| | | | the advantage of insert_with_values is that only the row-added signal is emitted and not first row-added (while the row is empty) and then row-changed
* contact list store: order contacts by alias, ID, protocol then account ID ↵Jonny Lamb2010-04-191-3/+42
| | | | | | (fixes #612864) Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* contact-list-store: don't put contacts in 'Ungrouped' when show-groups = FalseDanielle Madeley2010-04-011-18/+32
| | | | Further, set show-groups = False for the contact list in EmpathyChat
* compare_separator_and_groups: fix check if a is a bottom groupGuillaume Desmottes2010-03-311-1/+1
|
* Always use fake groups (#614375)Guillaume Desmottes2010-03-311-23/+0
| | | | There is no reason to use them when favourite contacts are enabled any more.
* Merge branch 'people-nearby-fake-group-613558'Danielle Madeley2010-03-301-11/+67
|\
| * Remove People Nearby from sorted groups listDanielle Madeley2010-03-301-1/+0
| |
| * Clean up sorting function to take top/bottom lists of fake groupsDanielle Madeley2010-03-241-9/+52
| | | | | | | | | | | | Even if we choose not to sort People Nearby, this patch is useful because it makes how the sorting of groups is done much clearer and allows us to add other fake groups in the future.
| * Make People Nearby into a Fake Group like Ungrouped and FavouritesDanielle Madeley2010-03-241-2/+16
| |
* | Show status messages in compact view (#614052)Will Thompson2010-03-301-4/+8
|/ | | | | | | | | | | | | Previously, when the contact list was in compact mode your contacts' status mesasges were not shown. With this patch, status messages are shown in the space to the right of the contact's name, in the same small, grey font as in the expanded view. Only custom messages are shown; fallback strings like _("Available") are redundant and made the list way too hard to read, so are not shown. This patch does show that most of my contacts are too boring to have status messages...
* Don't allow moving contacts to fake groups using DnDGuillaume Desmottes2010-03-151-1/+7
| | | | Fake groups can't be modified.
* contact-list-store: remove EMPATHY_CONTACT_LIST_STORE_COL_IS_FAVOURITEGuillaume Desmottes2010-03-151-35/+0
| | | | We don't need it any more.
* compare_separator_and_groups: check that the group is actually a fake oneGuillaume Desmottes2010-03-151-13/+15
|
* contact-list-store: add a column saying if a group is a fake one or notGuillaume Desmottes2010-03-151-5/+9
|
* stop displaying favorite contacts on top of groupsGuillaume Desmottes2010-03-151-10/+3
| | | | They are already displayed in a separated group on top of the contact list
* Display the fake 'Favorites' group at the top of the contact listGuillaume Desmottes2010-03-151-1/+5
|
* Create a fake 'Favorites People' groupGuillaume Desmottes2010-03-151-1/+18
|
* factor out add_contact_to_storeGuillaume Desmottes2010-03-151-26/+24
|
* Move the 'Ungrouped' fake contact to the bottom of the contact listGuillaume Desmottes2010-03-151-2/+8
|
* factor out compare_separator_and_groupsGuillaume Desmottes2010-03-151-41/+45
|
* add 'Ungrouped' fake contactGuillaume Desmottes2010-03-151-1/+14
|
* coding style fixesGuillaume Desmottes2010-03-151-16/+17
|
* Rebase the favourites support upon the telepathy-logger instead of a ↵Travis Reitter2010-03-151-8/+58
| | | | specially-named favourites group.
* Cut out the concept of a special Favourites groupTravis Reitter2010-03-151-58/+2
|
* Add a favorite contacts build option and make Moblin support automatically ↵Travis Reitter2010-03-151-0/+22
| | | | turn it on.
* Add support for marking contacts as favorites (which gives them a highlightedTravis Reitter2010-03-151-5/+64
| | | | star next to their name and adds them to the top of the contact list)
* Show protocol in compat mode tooGuillaume Desmottes2010-01-261-6/+2
| | | | There is no reason to not to (#607207).
* contact_list_store_update_list_mode_foreach: remove useless show_protocol ↵Guillaume Desmottes2010-01-261-4/+0
| | | | variable
* contact_list_store_contact_update: remove useless show_protocol variableGuillaume Desmottes2010-01-261-4/+0
|
* 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