aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-list.c
Commit message (Collapse)AuthorAgeFilesLines
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-261-11/+4
|
* If there is no publish list, don't auto-add people to itSjoerd Simons2010-05-081-0/+3
|
* iterate_on_channels: continue instead of returning if a channel doesn't matchGuillaume Desmottes2010-04-201-3/+3
| | | | We are iterating on channels so we should check the remaining channels...
* factor out iteration on channelsGuillaume Desmottes2010-04-081-28/+18
|
* Call EnsureChannel with an 'infinite' timeout so we don't have to catch list ↵Guillaume Desmottes2010-04-081-11/+4
| | | | channels in NewChannels any more
* pass properties hash table to tp_contact_list_group_add_channelGuillaume Desmottes2010-04-081-29/+9
|
* Use Requests.Channels property instead of the deprecated ListChannels()Guillaume Desmottes2010-04-081-38/+51
|
* Use NewChannels signal to catch group channels (#614236)Guillaume Desmottes2010-04-081-20/+12
|
* new_channels_cb: don't early return if TargetHandleType != TP_HANDLE_TYPE_LISTGuillaume Desmottes2010-04-081-12/+10
|
* tp-contact-list: stop disconnecting NewChannelsGuillaume Desmottes2010-04-081-19/+1
| | | | We are going to use it to get group channels as well.
* fix indentationGuillaume Desmottes2010-03-311-2/+2
|
* tp-contact-list: add members of 'stored' as membersGuillaume Desmottes2010-03-311-0/+24
| | | | This allow us to display contacts with subscriptio='none' (#539765).
* got_added_members_cb: check if contact is already in the hash before adding itGuillaume Desmottes2010-03-311-0/+3
| | | | | | empathy_tp_contact_factory_get_from_handles is async, so if the contact has already been added when it returns the contact objects there is no point to try to re-add it twice.
* add members of 'publish' as members of the TpContactListGuillaume Desmottes2010-03-311-4/+24
|
* pass handles to add_to_members instead of contact objectsGuillaume Desmottes2010-03-311-33/+42
|
* auto-accept pending call in tp_contact_list_subscribe_group_members_changed_cbGuillaume Desmottes2010-03-311-11/+22
| | | | | So we don't have to wait to have the contact and can group them to do only on AddMembers call.
* factor out remove_from_member_if_neededGuillaume Desmottes2010-03-311-2/+10
| | | | | Call it that way because we are about to add some check before removing a contact from members.
* factor out add_to_membersGuillaume Desmottes2010-03-311-9/+20
|
* tp-contact-list: Improve hash table descriptionsGuillaume Desmottes2010-03-311-4/+17
|
* Merge branch 'people-nearby-fake-group-613558'Danielle Madeley2010-03-301-19/+0
|\
| * Make People Nearby into a Fake Group like Ungrouped and FavouritesDanielle Madeley2010-03-241-19/+0
| |
* | disconnect NewChannels signal once we got all the list channels we care aboutGuillaume Desmottes2010-03-301-1/+19
| |
* | tp-contact-list: watch for list channels announced in NewChannels signalsGuillaume Desmottes2010-03-301-0/+47
| | | | | | | | | | | | If ensuring list channels fails (for example because the server is slow and the D-Bus call timeouts before CM fetches the roster), we have a chance to get them later. (#612949)
* | allow got_list_channel to be called more than once for the same channelGuillaume Desmottes2010-03-301-2/+6
| | | | | | | | Also allow to pass other list channel such as 'deny' for example.
* | factor out got_list_channelGuillaume Desmottes2010-03-301-19/+27
|/
* Don't assume that removing a user from 'stored' will remove them from all listsDanielle Madeley2010-02-081-2/+0
| | | | | | This doesn't appear to be correct for all CMs (at least, it doesn't appear to be correct for Gabble). At least it doesn't appear incorrect to attempt to remove the contact from the other lists anyway (#608974).
* connect the 'group-members-changed' on groups once they are readyGuillaume Desmottes2009-12-111-59/+81
| | | | | | | | | The previous code was racy. If the 'group-members-changed' was fired before the channel was ready, the group didn't exist yet in Empathy and so the contact didn't appear in the group. We fix that by connecting this signal once the group channel is ready and adding current members manually.
* Use EnsureChannel to get Stored/Publish/Subscribe channelsXavier Claessens2009-12-111-134/+47
|
* use tp_asv_newGuillaume Desmottes2009-12-101-15/+5
|
* tp_contact_list_remove: add FIXME about potential raceGuillaume Desmottes2009-12-101-0/+2
|
* tp_contact_list_remove: remove from the stored list if possible (#604181)Guillaume Desmottes2009-12-091-0/+8
|
* tp-contact-list: request the 'stored' channelGuillaume Desmottes2009-12-091-1/+66
|
* empathy-tp-contact-list.c: fix shadow declaration and uint comparaisonGuillaume Desmottes2009-10-221-6/+6
|
* Merge back from masterSjoerd Simons2009-08-221-11/+17
|\
| * Merge commit 'lfrb/added'Guillaume Desmottes2009-08-191-4/+7
| |\
| | * Always add to publish listLouis-Francis Ratté-Boulianne2009-08-191-4/+7
| | |
| * | Don't assume that 'subscribe' exists.Will Thompson2009-08-191-7/+10
| |/ | | | | | | | | | | | | | | | | | | This fixes bug #591468, which is a crash when you open a tab to a contact from the user list in an IRC channel. Idle doesn't have a 'subscribe' list, so priv->subscribe is NULL, so this crashed. But if you don't have a subscribe list, obviously you can't add the contact to subscribe, so we can just guard this appropriately. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-19/+114
|\| | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Fixed copy/paste mistake (Remove members from the right set)Louis-Francis Ratté-Boulianne2009-07-231-2/+2
| |
| * Small style fixesDavyd Madeley2009-07-151-2/+2
| |
| * Implement CAN_GROUP by looking at RequestableChannelClassesDavyd Madeley2009-07-151-1/+53
| |
| * call GetAliasFlags() to determine if an alias can be set on a ContactListDavyd Madeley2009-07-151-1/+36
| | | | | | | | | | | | | | | | Pending FIXMEs: - need to lookup RequestableChannelClasses to see if Groups can be requested on this connection - need to work out the best way to pass ContactListFlags to empathy_contact_menu_new()
| * Remove redundant empathy_tp_contact_list_can_add()Davyd Madeley2009-07-151-17/+0
| |
| * Expose channel group flags via EmpathyContactList ifaceDavyd Madeley2009-07-151-0/+25
| |
* | Remove last references to mission-control 4Sjoerd Simons2009-07-161-0/+1
|/
* empathy-tp-contact-list: remove trailing tabsGuillaume Desmottes2009-06-251-2/+2
|
* Don't double-unref superseded group TpChannels.Will Thompson2009-06-081-7/+37
|
* empathy-tp-contact-list: fix coding styleGuillaume Desmottes2009-05-181-7/+7
|
* Do not rely on suppress_handlers, it is deprecated.Xavier Claessens2009-04-221-76/+49
|
* Replace empathy_connection_get_protocol by tp_connection_parse_object_pathXavier Claessens2009-04-221-3/+2
|
* Add a comment to tell that tp_contact_list_group_add() takes ownership of ↵Xavier Claessens2009-04-221-0/+1
| | | | handles array
* Make the comment for group hash table more explicitXavier Claessens2009-04-221-1/+2
|
* Add a comment to explain what does tp_contact_list_group_addXavier Claessens2009-04-221-0/+5
|
* Simplify expression in tp_contact_list_group_add_data_unrefXavier Claessens2009-04-221-1/+2
|
* Also accept local-pending of publish if adding a contactXavier Claessens2009-04-221-0/+5
|
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-9/+27
| | | | | | function to get only one contact from id/handle.
* Extract protocol from the connection's object-path and correctly set the ↵Xavier Claessens2009-04-221-3/+5
| | | | special group for xmpp-local contacts.
* Add a group channel only if suppress_handler == FALSEXavier Claessens2009-04-221-3/+5
|
* index begin at 0 and not 1 for GArrayXavier Claessens2009-04-221-1/+1
|
* Get the factory in _constructed because connection property is not set yet ↵Xavier Claessens2009-04-221-2/+3
| | | | in _init
* Remove usage of EmpathyTpGroup from EmpathyTpContactListXavier Claessens2009-04-221-566/+610
|
* Rebase EmpathyTpContactList on TpConnection instead of McAccount.Xavier Claessens2009-04-221-118/+49
|
* Fix memleak in tp_contact_list_group_member_removed_cb. Free group name whenLars-Peter Clausen2009-04-211-0/+1
| | | | it is removed from the group list.
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Fix coding styleXavier Claessens2008-12-121-4/+4
| | | | svn path=/trunk/; revision=1964
* add empathy_tp_contact_list_can_add (Guillaume Desmottes)Xavier Claessens2008-12-121-0/+16
| | | | svn path=/trunk/; revision=1961
* Check if the return value of tp_contact_list_get_group() is !=NULL. Fixes ↵Xavier Claessens2008-09-191-1/+3
| | | | | | bug #548668 svn path=/trunk/; revision=1470
* Check if there is a publish/subscribe list before adding/removing contacts ↵Xavier Claessens2008-06-121-4/+11
| | | | | | from them. Fixes bug #537690. svn path=/trunk/; revision=1160
* Request publish and subscribe lists instead of waiting for CM to create them.Xavier Claessens2008-05-161-113/+172
| | | | svn path=/trunk/; revision=1103
* Use tp_connection_call_when_readyXavier Claessens2008-05-161-14/+21
| | | | svn path=/trunk/; revision=1102
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-8/+6
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-51/+42
| | | | svn path=/trunk/; revision=1066
* Fix a warningXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=913
* Update for new APIXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=907
* Disconnect invalidated signal before unref the connection.Xavier Claessens2008-04-111-0/+3
| | | | svn path=/trunk/; revision=899
* Port EmpathyTpContactList to tp-glib APIXavier Claessens2008-04-111-246/+240
| | | | svn path=/trunk/; revision=897
* Wait for the TpGroup to be ready before using itXavier Claessens2008-04-111-34/+59
| | | | svn path=/trunk/; revision=891
* Remove useless libtelepathy headersXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=777
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-111-2/+2
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Add a missing includeXavier Claessens2008-01-161-0/+1
| | | | svn path=/trunk/; revision=560
* Make use of tp_strdiff() to be NULL-safe. Fixes bug #509656.Xavier Claessens2008-01-161-13/+7
| | | | svn path=/trunk/; revision=558
* Add a remove option to delete a contact group. Fixes bug #459520 (David Turner).Xavier Claessens2008-01-021-0/+28
| | | | svn path=/trunk/; revision=528
* Conflicts:Xavier Claessens2007-12-031-13/+13
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-181-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-18 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-contact-manager.h: * libempathy/empathy-avatar.c: * libempathy/empathy-chandler.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-chandler.h: * libempathy/empathy-filter.c: * libempathy/empathy-tp-roomlist.c: * libempathy/empathy-tp-contact-list.h: * libempathy/empathy-filter.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-chatroom.h: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-factory.h: * libempathy/empathy-contact-list.h: * libempathy/empathy-chatroom.c: * libempathy/empathy-idle.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-chatroom.h: * libempathy/empathy-idle.h: * libempathy/empathy-tp-group.h: Cleanup licences and copyrights, Modules with 100% collabora code are now relicenced to LGPL. svn path=/trunk/; revision=377
* Set supress_handler to TRUE when creating new group channel.Xavier Claessens2007-10-121-3/+3
| | | | | | | | | | 2007-10-11 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Set supress_handler to TRUE when creating new group channel. svn path=/trunk/; revision=369
* Oops, useless g_printXavier Claessens2007-10-021-1/+0
| | | | svn path=/trunk/; revision=359
* really fix protocol groupXavier Claessens2007-10-021-8/+10
| | | | svn path=/trunk/; revision=358
* Add back protocol group.Xavier Claessens2007-10-021-0/+8
| | | | | | | | | 2007-10-02 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Add back protocol group. svn path=/trunk/; revision=357
* Fix warnings when finalizing.Xavier Claessens2007-09-211-18/+13
| | | | | | | | | | | | | | 2007-09-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix warnings when finalizing. * tests/contact-manager.c: * tests/Makefile.am: * configure.ac: * Makefile.am: Add a test program to track leaks. svn path=/trunk/; revision=304
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-1573/+632
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Salut's protocol name is going to change to local-xmpp. Fixes bug #469638Xavier Claessens2007-08-251-1/+1
| | | | | | | | | | | | | | 2007-08-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-tp-contact-list.c: * data/salut.profile: Salut's protocol name is going to change to local-xmpp. Fixes bug #469638 (Sjoerd Simons) svn path=/trunk/; revision=270
* s/Local Network/People nearby/ (Sjoerd Simons)Xavier Claessens2007-08-111-1/+1
| | | | | | | | | | 2007-08-11 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: s/Local Network/People nearby/ (Sjoerd Simons) svn path=/trunk/; revision=248
* Add a check to be sure the new channel is valid in the NewChannel cb.Xavier Claessens2007-07-251-0/+1
| | | | | | | | | | 2007-07-25 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Add a check to be sure the new channel is valid in the NewChannel cb. Fixes bug #451564. svn path=/trunk/; revision=191
* Initial room list support. It does not works yet.Xavier Claessens2007-07-201-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-tp-roomlist.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: Initial room list support. It does not works yet. * libempathy-gtk/empathy-account-widget-generic.c: Add support for all types of integer and float. Fixes bug #457740 (Jamey Hicks). * libempathy/empathy-tp-chat.c: * libempathy-gtk/empathy-chat.c: If there is an error sending a message, show an error message to the user. * libempathy-gtk/empathy-accounts-dialog.c: Fix a leak, profile should be unrefed after mc_account_get_profile. * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-group.h: * libempathy/empathy-tp-group.c: * src/empathy.c: Rename empathy_get_channel_id() to empathy_inspect_channel(). We now have empathy_inspect_handle(). * po/POTFILES.in: * libempathy/empathy-tp-contact-list.c: Set all contacts from salut protocol to the "Local Network" group. * libempathy/empathy-idle.c: Fix NetworkManager support. * libempathy/empathy-chatroom.h: Fix indentation. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: - Iconify main window to the status icon like in rhythmbox. Fixes bug #458106 (Jaap A. Haitsma). - Rounded avatars. Fixes bug #457992 (Raphael Slinckx) * Makefile.am: Fix distcheck for gtkdoc (Vincent Untz) * data/empathy.desktop.in.in: Change application description (Jaap A. Haitsma). svn path=/trunk/; revision=190
* Fix avatar request queue.Xavier Claessens2007-07-131-24/+23
| | | | | | | | | 2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix avatar request queue. svn path=/trunk/; revision=186
* Remove unused nickname entry and use a GtkTable for room information. MoreXavier Claessens2007-07-131-0/+8
| | | | | | | | | | | | | | | | | | | | | 2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-new-chatroom-dialog.glade: Remove unused nickname entry and use a GtkTable for room information. More work is needed here. * libempathy-gtk/empathy-contact-widget.glade: Change padding to 6. * libempathy-gtk/empathy-contact-dialogs.c: Set a window title. * libempathy-gtk/empathy-contact-widget.c: Fix alignment of widgets. * libempathy/empathy-tp-contact-list.c: Add more debug msg for avatar handling. svn path=/trunk/; revision=184
* Auto-accept to publish presence to contacts that are in our subscribeXavier Claessens2007-07-121-8/+20
| | | | | | | | | | | 2007-07-12 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Auto-accept to publish presence to contacts that are in our subscribe list. When accepting a pending contact add it to publish and subscribe list. svn path=/trunk/; revision=180
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-311/+311
| | | | | | | | | | | | | 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
* Fix typo causing warnings.Xavier Claessens2007-06-221-1/+1
| | | | | | | | | 2007-06-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix typo causing warnings. svn path=/trunk/; revision=165
* We show in our roster all contacts members and remote-pending of subscribeXavier Claessens2007-06-211-38/+78
| | | | | | | | | | | | | | | | | | | 2007-06-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/gossip-contact-list-store.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: * libempathy/gossip-contact.c: We show in our roster all contacts members and remote-pending of subscribe list. Adding/Removing a contact only add/remove from subscribe list. Accept/Reject a contact in local-pending of publish list is done using _process_pending(). svn path=/trunk/; revision=164
* New window for viewing logs.Xavier Claessens2007-06-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-log-window.glade: * libempathy-gtk/gossip-log-window.h: * libempathy-gtk/gossip-log-window.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/empathy-main-window.c: New window for viewing logs. * libempathy-gtk/gossip-chat-view.c: Do not use smooth scroll when resizing the view. * libempathy-gtk/gossip-contact-list-store.c: Do not set active contacts when creating the store, and when contact groups changed. * src/empathy-main.c: Fix warning when using command-line options. * libempathy/empathy-tp-contact-list.c: Check if we have an aliasing iface before setting the alias of a contact. * TODO: Updated. * data/jabber.profile: Ignore ssl errors by default. This is a security vulnerability but we don't really have the choice. * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: Add a "is-user" property to know if it's our self contact. * libempathy/gossip-message.h: * libempathy/gossip-message.c: Add a "receiver" property like that we have our self contact for nick highlight. svn path=/trunk/; revision=148
* We can now add a new contact. EmpathyContactWidget can change the contactXavier Claessens2007-06-091-2/+2
| | | | | | | | | | | | | | | | | | 2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-contact-widget.c: We can now add a new contact. EmpathyContactWidget can change the contact it's displaying on-the-fly, like that we can display info when typing the contact ID we want to add to our contact list. * libempathy/empathy-tp-contact-list.c: Fix a refcount bug. svn path=/trunk/; revision=134
* Do not save when closing the dialog. Update information in real-time andXavier Claessens2007-06-091-37/+8
| | | | | | | | | | | | | | | | | | 2007-06-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: Do not save when closing the dialog. Update information in real-time and just provides a "Close" button. That's more GNOME spirite. * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: New methods: gossip_contact_add/remove_group(). This fixes leaks when a contact is added/removed from a group. svn path=/trunk/; revision=132
* New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget toXavier Claessens2007-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-subscription-dialog.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy-gtk/empathy-subscription-dialog.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-subscription-dialog.h: * libempathy/empathy-tp-contact-list.c: New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget to display information about the contact who wants to get your presence. This dialog appears when clicking on the status icon when it blinks. You can also remove contacts when right-click on it in the roster. svn path=/trunk/; revision=125
* New widget: EmpathyContactWidget. It displays information about a contact,Xavier Claessens2007-06-061-37/+0
| | | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/Makefile.am: New widget: EmpathyContactWidget. It displays information about a contact, it can be used in any kind of dialog which needs to display contact information like alias, groups, avatar, etc. If the contact is the selfcontact information are editable. * libempathy/empathy-tp-contact-list.c: Do not take care of subscription changes. * libempathy/gossip-contact.c: Use gossip_presence_state_get_default_status (MC_PRESENCE_OFFLINE) when there is no presence. svn path=/trunk/; revision=124
* Add support for blinking when there is an event. Make use of EmpathyIdleXavier Claessens2007-06-061-150/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: Add support for blinking when there is an event. Make use of EmpathyIdle for presence handling. Add an event when a contact requets subscription. * libempathy-gtk/gossip-contact-list-store.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: get_contacts() is renamed to get_members(). Adding a signal and a method for local-pending with contacts with the message. Rework completely the contact-list handling in EmpathyTpContactList to follow tp spec. * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add properties for the state and the status message. EmpathyIdle is now a singleton to manager self presence. * TODO: Updated. svn path=/trunk/; revision=123
* Fix crash when there is no log available for a chat. Fix a crash whenXavier Claessens2007-06-031-1/+2
| | | | | | | | | | | | 2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: Fix crash when there is no log available for a chat. * libempathy/empathy-tp-contact-list.c: Fix a crash when destroy signal is emitted before StatusChanged. svn path=/trunk/; revision=115
* Set default presence to available if there is no presence iface.Xavier Claessens2007-06-021-0/+12
| | | | | | | | | | | | 2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-contact.c: Set default presence to available if there is no presence iface. svn path=/trunk/; revision=113
* Fix warning when selecting all accounts.Xavier Claessens2007-05-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-account-chooser.c: Fix warning when selecting all accounts. * src/empathy-accounts-main.c: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/gossip-accounts-dialog.h: * libempathy-gtk/gossip-accounts-dialog.c: * libempathy-gtk/gossip-preferences.h: * libempathy-gtk/gossip-preferences.c: Set parent window. * libempathy-gtk/empathy-main-window.c: Implement favorite chatroom menu and fix a leak. * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * libempathy/gossip-chatroom.c: * libempathy/gossip-chatroom.h: * libempathy/gossip-chatroom-manager.c: * libempathy/gossip-chatroom-manager.h: * libempathy/gossip-chatroom-manager.dtd: * libempathy-gtk/gossip-chatrooms-window.glade: * libempathy-gtk/gossip-chatrooms-window.c: * libempathy-gtk/gossip-chatrooms-window.h: New files to implement favorite chatrooms and a window to show them. * libempathy-gtk/gossip-chat.c: Fix tooltip leaked. * libempathy-gtk/gossip-chat-window.h: * libempathy-gtk/gossip-chat-window.c: Do not use deprecated gtk_object_sink(). Implement favorite chatroom features. Find a chat by comparing the account AND the chat ID. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/gossip-utils.h: * libempathy/gossip-utils.c: empathy_tp_chat_get_id() returns the Text channel's name. The chat ID is unique only for a specified account. * libempathy/empathy-tp-contact-list.c: Fix some leaks and add a FIXME comment for a leak not yet fixed. * TODO: Would be cool to have a glade catalog for libempathy-gtk. svn path=/trunk/; revision=100
* Do not highlight contacts already known when creating the contact list. DoXavier Claessens2007-05-261-2/+2
| | | | | | | | | | | | | | 2007-05-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-contact-list-store.c: Do not highlight contacts already known when creating the contact list. * libempathy/empathy-tp-contact-list.c: Do not set alias if DBus returns an error. * libempathy/empathy-idle.c: Do not set status message to "Extended autoaway", let user's message unchanged. svn path=/trunk/; revision=99
* Fix refcounting of GossipGroupChat. Add debug message when alias requestXavier Claessens2007-05-251-1/+6
| | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: Fix refcounting of GossipGroupChat. * libempathy/empathy-tp-contact-list.c: Add debug message when alias request fails. * data/22x22/empathy-group-message.png: * data/22x22/Makefile.am: Add group message icon. svn path=/trunk/; revision=94
* Do not use the server entry's value if it's hidden. Do not highlightXavier Claessens2007-05-251-7/+35
| | | | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-new-chatroom-dialog.c: Do not use the server entry's value if it's hidden. * libempathy-gtk/gossip-contact-list-view.c:Do not highlight groups when adding them in the roster. * libempathy/empathy-tp-contact-list.c: DO not create new GossipContact object in presence/avatar/alias changed signal if we don't already know that contact from a contact list channel. This should fix DBus max pending calls limit reached in some cases. svn path=/trunk/; revision=93
* Implementing basic chatroom support. Actually it works only if we getXavier Claessens2007-05-211-28/+18
| | | | | | | | | | | | | | | | | | | | | 2007-05-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-group-chat.h: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-private-chat.h: * libempathy-gtk/gossip-group-chat.glade: * libempathy-gtk/Makefile.am: * src/empathy-chat-main.c: * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-telepathy-group.c: * libempathy/gossip-telepathy-group.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-chatroom.h: Implementing basic chatroom support. Actually it works only if we get invited in a chatroom. svn path=/trunk/; revision=87
* Fix indentation Fix not returning the contact in tp_contact_list_find()Xavier Claessens2007-05-201-6/+3
| | | | | | | | | | | | | | | 2007-05-19 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy/empathy-tp-chat.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-contact-list.c: Fix indentation * libempathy/empathy-tp-contact-list.c: Fix not returning the contact in tp_contact_list_find() * TODO: Updated. svn path=/trunk/; revision=75
* EmpathyContactList is now an interface implemented byXavier Claessens2007-05-191-0/+1822
* libempathy-gtk/gossip-private-chat.h: * libempathy-gtk/gossip-contact-list.c: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/gossip-chat.h: * libempathy-gtk/gossip-chat-window.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-chat-view.c: * libempathy-gtk/gossip-private-chat.c: * src/empathy-chat-main.c: * libempathy/gossip-utils.c: * libempathy/gossip-contact.h: * libempathy/empathy-tp-chat.c: * libempathy/gossip-utils.h: * libempathy/empathy-contact-manager.c: * libempathy/empathy-contact-manager.h: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-tp-contact-list.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-chatroom.h: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: * libempathy/Makefile.am: * libempathy/gossip-contact.c: EmpathyContactList is now an interface implemented by EmpathyTpContactList, EmpathyContactManager and EmpathyTpChatroom. GossipContactList use that interface to display a treeview. svn path=/trunk/; revision=72