aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-chatroom-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* coding style fixesGuillaume Desmottes2010-05-271-1/+1
|
* Make chatroom manager retain room's "always_urgent" stateJonas Bonn2010-05-271-0/+14
| | | | | | | | | | | | This patch adds the always_urgent property to the list of chatroom properties that are saved by the chatroom manager for the favorite chatrooms. This allows Empathy to bring favorite chatrooms back up with the same notification properties they had the last time they were used. This seems reasonable as a room marked as "Notify Always" will most likely be of such a character that this would be a reasonable setting every time the room is joined.
* Add function ensure_chatroom to chatroom managerJonas Bonn2010-05-271-0/+22
| | | | | This function tries to find an existing chatroom, but if it fails to do so it creates a new room and returns that instead.
* chatroom-manager: Save correct room nameJonas Bonn2010-03-091-1/+1
| | | | | | | | When writing out the room name to the persistance file, the room name should properly be gotten with the get_room function. This bug has probably not bitten too many users as the remote room name and the favorite chatroom name usually are usually the same; however, if the user were to change the favorite chatroom name then this bug would become apparent.
* Call xmlCleanupParser() only once when exiting (#600693)Guillaume Desmottes2010-01-131-1/+0
| | | | | | | This function should only be called when exiting the application as it cleans up the memory allocated by the library itself. Thanks to Lennart for pointing this out.
* all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-2/+7
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* chatroom-manager: port to new tp-glib account APIJonny Lamb2009-10-241-36/+21
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-chatroom-manager.c: fix casting issuesGuillaume Desmottes2009-10-221-8/+12
|
* chatroom-manager: add a ready propertyJonny Lamb2009-09-081-0/+18
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* chatroom-manager: only parse xml file once the account manager is readyJonny Lamb2009-09-061-1/+31
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Chang the API of AccountManager to have the get lookup the account by nameSjoerd Simons2009-07-301-4/+4
| | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account
* remove usage of empathy_account_equalSjoerd Simons2009-07-301-7/+4
|
* Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-1/+1
|\ | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Put configuration data in XDG_CONFIG_DIRS (GNOME bug 494007)Frédéric Péters2009-07-211-1/+1
| |
* | Remove last references to mission-control 4Sjoerd Simons2009-07-161-0/+2
|/
* Removing chatroom from the list before emmiting chatroom-removed signal.Abner Silva2009-07-011-1/+2
|
* Port libempathy to EmpathyAccountSjoerd Simons2009-07-011-9/+9
|
* Break after deleting current item in chatroom listWill Thompson2009-06-091-1/+4
| | | | | | | | | | | When I signed off, Empathy exploded. l was 0x33, which oddly enough was secretly not the address of a GList. :-) I think what happened is that empathy_chatroom_manager_remove() deleted the list node currently pointed to by l; then the loop advanced to l->next, which was now garbage. We don't need to keep iterating once we find the chatroom we were looking for, so break out of the loop.
* Extract removing chatroom links to a functionWill Thompson2009-06-091-9/+22
|
* Consistently use this_chatroom when removing a roomWill Thompson2009-06-091-2/+2
|
* empathy-chatroom-manager: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-4/+4
|
* Use new getters and setters of EmpathyChatroom. Simplify to lookup when a ↵Xavier Claessens2009-04-221-35/+20
| | | | tp_chat is destroyed.
* Use the account manager to map from connection to account.Xavier Claessens2009-04-221-6/+19
|
* Reorder functions to not declare them on topXavier Claessens2009-04-221-267/+267
|
* Fix some coding styleXavier Claessens2009-04-221-105/+90
|
* Fix type punned pointers warningsOlivier Crête2009-02-121-1/+1
| | | | | | | | | Remove senseless (void **) From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2440
* Let a chatroom keep a reference to a its TpChat if applicableSjoerd Simons2009-01-101-0/+6
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2189
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-101-5/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Convert EmpathyChatroomManager to the new singleton conventionSjoerd Simons2009-01-101-14/+11
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185
* More style fixesSjoerd Simons2009-01-101-6/+6
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2172
* Act as an observerSjoerd Simons2009-01-101-0/+88
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2148
* empathy_chatroom_manager_remove: when looking for the chatroom to remove ↵Xavier Claessens2008-10-131-1/+2
| | | | | | check the address first so we are not confuse if the room was invalidated svn path=/trunk/; revision=1579
* chatroom-manager: add_chatroom: connect the 'notify' signal instead of each ↵Xavier Claessens2008-10-131-9/+1
| | | | | | signal individually svn path=/trunk/; revision=1574
* remove empathy_chatroom_manager_store from the API as it's became uselessXavier Claessens2008-10-131-8/+0
| | | | svn path=/trunk/; revision=1571
* disconnect chatroom signals when they are removed from the mgrXavier Claessens2008-10-131-10/+24
| | | | svn path=/trunk/; revision=1569
* automatically save the chatroom mgr XML file when one chatroom is modifiedXavier Claessens2008-10-131-4/+13
| | | | svn path=/trunk/; revision=1568
* chatroom-mgr: use a save timer instead of saving the file directlyXavier Claessens2008-10-131-3/+40
| | | | svn path=/trunk/; revision=1567
* only save the chatrooms xml when a favorite chatroom is added/removedXavier Claessens2008-10-131-2/+16
| | | | svn path=/trunk/; revision=1566
* chatroom-mgr: store the file when a chatroom changes its favorite stateXavier Claessens2008-10-131-2/+22
| | | | svn path=/trunk/; revision=1564
* add the file path as arg to empathy_chatroom_manager_newXavier Claessens2008-10-131-3/+5
| | | | svn path=/trunk/; revision=1542
* chatroom-manager: set the file path as a propertyXavier Claessens2008-10-131-35/+104
| | | | svn path=/trunk/; revision=1541
* Save chatrooms to XML only if they are marked as favoriteXavier Claessens2008-10-131-0/+7
| | | | svn path=/trunk/; revision=1534
* 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-7/+5
| | | | svn path=/trunk/; revision=1066
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+501
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