aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-list.c
Commit message (Collapse)AuthorAgeFilesLines
* 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