aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-idle.c
Commit message (Collapse)AuthorAgeFilesLines
* Use gi18n-lib.h instead of gi18n.h for libraries.xclaesse2008-12-121-1/+1
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1967 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Reword presence handling. Save requested presence and correctly set ↵xclaesse2008-08-141-55/+61
| | | | | | auto-away even if NM is disconnected. Fixes bug #540356. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1334 4ee84921-47dd-4033-b63a-18d7a039a3e4
* reorder some functionsxclaesse2008-08-141-23/+23
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1333 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Do not stop and restart ext_away_timeout when already running.xclaesse2008-08-141-1/+3
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1332 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Reorder functions to not have to declare them in the beginning of the filexclaesse2008-08-141-282/+259
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1331 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Do not include empathy-debug.h twicexclaesse2008-05-071-1/+0
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1085 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Keep a priv pointer in the object struct instead of using ↵xclaesse2008-05-061-18/+14
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1082 4ee84921-47dd-4033-b63a-18d7a039a3e4
* If self presence message is "" do like if it was NULL.xclaesse2008-05-051-0/+4
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1081 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Make use of tp-glib debug system.xclaesse2008-05-011-23/+21
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1066 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Remove useless libtelepathy headersxclaesse2008-03-111-1/+1
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@777 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Update collabora copyright to 2008xclaesse2008-03-031-1/+1
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@688 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵xclaesse2008-01-251-2/+2
| | | | | | properties directly in EmpathyContact git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@601 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Make use of PresenceChanged signal now that it got fixed in MC 4.53. Fixes ↵xclaesse2008-01-141-7/+10
| | | | | | bug #466960. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@547 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Reset status message when coming back from away and the status was manually ↵xclaesse2008-01-121-4/+16
| | | | | | set to away. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@537 4ee84921-47dd-4033-b63a-18d7a039a3e4
* Correctly store/restore presence when NM state changesxclaesse2007-12-131-7/+10
| | | | git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@473 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-12-06 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-12-061-8/+13
| | | | | | | | | | | | * libempathy-gtk/empathy-preferences.c: * libempathy-gtk/empathy-preferences.glade: * libempathy/empathy-idle.c: When NM is in sleeping (=disabled) state, do just like if it was connected. Remove option from preference dialog to disabled NM support because NM can be disabled using nm-applet, but let the option in gconf, it can be useful in case of buggy NM. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@469 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-12-06 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-12-061-74/+75
| | | | | | | | | | | | | | * data/empathy.schemas.in: * libempathy-gtk/empathy-preferences.c: * libempathy-gtk/empathy-preferences.glade: * libempathy-gtk/empathy-preferences.h: * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add a preference option to disable/enable NM support. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@468 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-10-18 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-10-181-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@377 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-10-13 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-10-131-3/+3
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@370 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-09-20 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-09-201-4/+77
| | | | | | | | | | | | | | | * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: * doc/libempathy/tmpl/empathy-idle.sgml: Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect, default to off. Only empathy main client will turn them on, like that if other processes are running with an EmpathyIdle instance they won't change presence in the same time than Empathy client. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@301 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-08-09 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-08-091-8/+1
| | | | | | | | | | | * libempathy/empathy-presence.c: * libempathy/empathy-idle.c: * configure.ac: Remove workaround for mc-enum-types.h not being installed by MC and bump MC minimal version to 4.33. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@239 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-08-07 Marco Barisione <marco@barisione.org>mbari2007-08-081-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@234 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-07-26 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-07-261-3/+15
| | | | | | | | | | | * libempathy/empathy-idle.c: Fix problems when NM is not running. Fixes bug #460419. * doc/*: Updated documentation. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@195 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-07-20 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-07-201-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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). git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@190 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-06-22 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-06-221-13/+13
| | | | | | | | | | | | * 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). git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@170 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-06-15 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-06-211-38/+116
| | | | | | | | | * src/empathy.c: * libempathy/empathy-idle.c: Adding NetworkManager support. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@162 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-06-15 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-06-151-17/+36
| | | | | | | | | | | | | * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/gossip-presence-chooser.c: * libempathy-gtk/gossip-presence-chooser.h: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Prepare for slack time when coming back from auto away. Not yet fully implemented. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@159 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-06-06 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-06-061-16/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@123 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-05-31 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-05-311-2/+1
| | | | | | | | | * libempathy/empathy-idle.c: Do not restore away presence message when coming back after the user set manually to away. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@101 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-05-26 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-05-261-1/+1
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@99 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2007-05-21 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-05-211-13/+28
| | | | | | | | | | * libempathy/empathy-idle.c: If we are offline do not set away on idle. If we are already away restore to available when we are no mode idle. Do no modify status message. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@88 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2006-05-19 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-05-191-25/+25
| | | | | | | | | * libempathy/empathy-idle.c: Auto away when session id idle, instead of when screensaver is active. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@73 4ee84921-47dd-4033-b63a-18d7a039a3e4
* 2006-05-16 Xavier Claessens <xclaesse@gmail.com>xclaesse2007-05-171-0/+226
* libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: * libempathy/Makefile.am: * po/POTFILES.in: New object EmpathyIdle to manage autoaway and extended autoaway states. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@70 4ee84921-47dd-4033-b63a-18d7a039a3e4