aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve API of tp-chatSjoerd Simons2009-01-101-3/+8
| | | | | | | | | | | | | | | | | | * Never automagically acknowledge message, the UI should do this * Add API to acknowledge a single or a list of EmpathyMessage * Add API to get the list of pending messages * Add API to explicitly close the underlying channel * Ignore events from a channel that is being closed. Important events will be emitted when the text channel respawns. In the future we might want to make the closing of the channel async and have it emit signals untill closed. Mostly for the benefit of the logger. Needs some work in the UI bits to disconnect all signals properly when closing the window though. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2128
* Avoid calling ListPendingMessage if it's already running.Xavier Claessens2008-05-091-2/+1
| | | | svn path=/trunk/; revision=1090
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-2/+2
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make sure we don't assume Text channel's handle_type is != NONE.Xavier Claessens2008-04-231-0/+1
| | | | svn path=/trunk/; revision=1032
* Fix acknoledge of messagesXavier Claessens2008-04-201-0/+3
| | | | svn path=/trunk/; revision=966
* Always set urgency hint on p2p chat windows when receiving a message.Xavier Claessens2008-04-181-0/+1
| | | | svn path=/trunk/; revision=962
* Update copyright year in .h too, it was done in .c only.Xavier Claessens2008-04-151-1/+1
| | | | svn path=/trunk/; revision=946
* Do not take McAccount as construct param, it can be found from the TpChannelXavier Claessens2008-04-111-8/+3
| | | | svn path=/trunk/; revision=905
* Add a 'ready' property telling if the object is ready to use.Xavier Claessens2008-04-021-0/+1
| | | | svn path=/trunk/; revision=861
* Rework EmpathyChat's API, it is now a subclass of GtkBin.Xavier Claessens2008-04-021-1/+2
| | | | svn path=/trunk/; revision=840
* Unify EmpathyTpChatroom and EmpathyTpChat.Xavier Claessens2008-04-021-4/+2
| | | | svn path=/trunk/; revision=830
* Remove useless libtelepathy headersXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=777
* Implement _set_propertyXavier Claessens2008-03-111-0/+1
| | | | svn path=/trunk/; revision=773
* Continue property stuffXavier Claessens2008-03-111-0/+2
| | | | svn path=/trunk/; revision=768
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=763
* Refactor EmpathyTpChat to use tp-glib client codeXavier Claessens2008-03-111-2/+1
| | | | svn path=/trunk/; revision=762
* Add back empathy_tp_chat_new_with_contactXavier Claessens2008-01-021-0/+1
| | | | svn path=/trunk/; revision=526
* Cleanup chat objects API and request a new Text channel if account getsXavier Claessens2007-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-12-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat-window.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-chat.h: * libempathy-gtk/empathy-group-chat.c: * libempathy-gtk/empathy-group-chat.h: * libempathy-gtk/empathy-private-chat.c: * libempathy-gtk/empathy-private-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * python/pyempathy/pyempathy.defs: * python/pyempathygtk/pyempathygtk.defs: * src/empathy-chat-chandler.c: Cleanup chat objects API and request a new Text channel if account gets reconnected. svn path=/trunk/; revision=461
* 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
* Fix a leaked ref.Xavier Claessens2007-07-011-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-30 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-widget-generic.c: Fix a leaked ref. * src/empathy.c: If we get a chatroom we have to create an EmpathyTpChatroom object. * src/Makefile.am: Fix build system, programs links to libempathy-gtk and libempathy. * configure.ac: libempathy does not depends on libgnome-vfs. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-chat.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-filter.c: * libempathy/empathy-filter.h: * libempathy/empathy-filter.xml: * libempathy/Makefile.am: Filter incoming text channels and make status icon flash when there we receive a new message. Dispatch the channel only when we get a message and the user click on the icon. svn path=/trunk/; revision=175
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-4/+4
| | | | | | | | | | | | | 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 warning when selecting all accounts.Xavier Claessens2007-05-311-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Preset the server only for jabber protocol to conference.server. ThisXavier Claessens2007-05-251-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-new-chatroom-dialog.c: Preset the server only for jabber protocol to conference.server. This fixes a warning. * libempathy-gtk/gossip-group-chat.h: * libempathy-gtk/gossip-group-chat.c: gossip_group_chat_set_topic() is a public function. * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-main-window.glade: * libempathy-gtk/empathy-status-icon.glade: Make use of empathy-new-message icon name. * libempathy-gtk/gossip-contact-list-store.c: By default we sort by contacts names. * libempathy-gtk/gossip-chat.c: Do not display composing state if it's our own contact that is composing. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: Make possible to build the id based on the account and the channel's name. For private chats that means the contact's id. * libempathy-gtk/gossip-chat-window.c: Un-comment the code related to chatrooms that is now implemented. We can now Show/Hide contact list for group chats, DnD contact on the window to begin a discussion, join a new chatroom. * libempathy-gtk/gossip-account-chooser.c: Add a FIXME message. * data/22x22/empathy-new-message.png: * data/22x22/empathy-proto-irc.png: * data/22x22/Makefile.am: * data/32x32/empathy-proto-irc.png: * data/32x32/Makefile.am: * data/gtalk.profile: * data/16x16/empathy-new-message: * data/16x16/empathy-message-new.png: * data/16x16/empathy-proto-irc.png: * data/16x16/Makefile.am: * data/scalable/empathy-proto-irc.svg: * data/scalable/Makefile.am: * data/irc.profile: Adding icons for empathy-new-message and IRC protocol. Make use of the irc icon in the irc profile. svn path=/trunk/; revision=91
* When a new text channel arrives, check if there is no existing GossipChatXavier Claessens2007-05-141-0/+2
| | | | | | | | | | | | | | | 2006-05-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-chat-window.c: * libempathy-gtk/gossip-chat-window.h: * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: When a new text channel arrives, check if there is no existing GossipChat object for it. svn path=/trunk/; revision=56
* [darcs-to-svn @ many changes]Xavier Claessens2007-05-091-17/+10
| | | | svn path=/trunk/; revision=35
* [darcs-to-svn @ Save/restore window geometry]Xavier Claessens2007-04-271-0/+1
| | | | svn path=/trunk/; revision=6
* [darcs-to-svn @ Set Collabora copyright for files I created/modified]Xavier Claessens2007-04-261-1/+3
| | | | svn path=/trunk/; revision=4
* [darcs-to-svn @ initial import]Xavier Claessens2007-04-261-0/+75
svn path=/trunk/; revision=2