aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-idle.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Save status message on NetworkManager disconnect and restore on reconnectDavyd Madeley2009-02-111-3/+12
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2432
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-3/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Set the right weak pointer.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2122
* Port EmpathyIdle to the new singleton policy.Xavier Claessens2009-01-091-12/+26
| | | | svn path=/trunk/; revision=2114
* Set to NULL the status message if it's empty.Xavier Claessens2009-01-071-4/+6
| | | | svn path=/trunk/; revision=2084
* Add debug messages.Xavier Claessens2009-01-071-0/+4
| | | | svn path=/trunk/; revision=2081
* Don't set random values in EmpathyIdle init if MC is not running.Xavier Claessens2009-01-071-3/+8
| | | | svn path=/trunk/; revision=2026
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Reword presence handling. Save requested presence and correctly set ↵Xavier Claessens2008-08-141-55/+61
| | | | | | auto-away even if NM is disconnected. Fixes bug #540356. svn path=/trunk/; revision=1334
* reorder some functionsXavier Claessens2008-08-141-23/+23
| | | | svn path=/trunk/; revision=1333
* Do not stop and restart ext_away_timeout when already running.Xavier Claessens2008-08-141-1/+3
| | | | svn path=/trunk/; revision=1332
* Reorder functions to not have to declare them in the beginning of the fileXavier Claessens2008-08-141-282/+259
| | | | svn path=/trunk/; revision=1331
* Do not include empathy-debug.h twiceXavier Claessens2008-05-071-1/+0
| | | | svn path=/trunk/; revision=1085
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-18/+14
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* If self presence message is "" do like if it was NULL.Xavier Claessens2008-05-051-0/+4
| | | | svn path=/trunk/; revision=1081
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-23/+21
| | | | svn path=/trunk/; revision=1066
* Remove useless libtelepathy headersXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=777
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-2/+2
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Make use of PresenceChanged signal now that it got fixed in MC 4.53. Fixes ↵Xavier Claessens2008-01-141-7/+10
| | | | | | bug #466960. svn path=/trunk/; revision=547
* Reset status message when coming back from away and the status was manually ↵Xavier Claessens2008-01-121-4/+16
| | | | | | set to away. svn path=/trunk/; revision=537
* Correctly store/restore presence when NM state changesXavier Claessens2007-12-131-7/+10
| | | | svn path=/trunk/; revision=473
* When NM is in sleeping (=disabled) state, do just like if it wasXavier Claessens2007-12-061-8/+13
| | | | | | | | | | | | | 2007-12-06 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=469
* Add a preference option to disable/enable NM support.Xavier Claessens2007-12-061-74/+75
| | | | | | | | | | | | | | | 2007-12-06 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=468
* 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
* Use g_timeout_add_seconds when appropriated to avoid weaking the processXavier Claessens2007-10-131-3/+3
| | | | | | | | | | | | | | | | | | 2007-10-13 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=370
* Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect,Xavier Claessens2007-09-201-4/+77
| | | | | | | | | | | | | | | | 2007-09-20 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=301
* Remove workaround for mc-enum-types.h not being installed by MC and bumpXavier Claessens2007-08-091-8/+1
| | | | | | | | | | | | 2007-08-09 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=239
* Remove empathy-marshal-main.c and include empathy-marshal.h fromMarco Barisione2007-08-081-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-07 Marco Barisione <marco@barisione.org> * 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. svn path=/trunk/; revision=234
* Fix problems when NM is not running. Fixes bug #460419.Xavier Claessens2007-07-261-3/+15
| | | | | | | | | | | | 2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Fix problems when NM is not running. Fixes bug #460419. * doc/*: Updated documentation. svn path=/trunk/; revision=195
* Initial room list support. It does not works yet.Xavier Claessens2007-07-201-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-13/+13
| | | | | | | | | | | | | 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
* Adding NetworkManager support.Xavier Claessens2007-06-211-38/+116
| | | | | | | | | | 2007-06-15 Xavier Claessens <xclaesse@gmail.com> * src/empathy.c: * libempathy/empathy-idle.c: Adding NetworkManager support. svn path=/trunk/; revision=162
* Prepare for slack time when coming back from auto away. Not yet fullyXavier Claessens2007-06-151-17/+36
| | | | | | | | | | | | | | 2007-06-15 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=159
* Add support for blinking when there is an event. Make use of EmpathyIdleXavier Claessens2007-06-061-16/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Do not restore away presence message when coming back after the user setXavier Claessens2007-05-311-2/+1
| | | | | | | | | | 2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Do not restore away presence message when coming back after the user set manually to away. svn path=/trunk/; revision=101
* Do not highlight contacts already known when creating the contact list. DoXavier Claessens2007-05-261-1/+1
| | | | | | | | | | | | | | 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
* If we are offline do not set away on idle. If we are already away restoreXavier Claessens2007-05-211-13/+28
| | | | | | | | | | | 2007-05-21 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=88
* Auto away when session id idle, instead of when screensaver is active.Xavier Claessens2007-05-191-25/+25
| | | | | | | | | | 2006-05-19 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Auto away when session id idle, instead of when screensaver is active. svn path=/trunk/; revision=73
* New object EmpathyIdle to manage autoaway and extended autoaway states.Xavier Claessens2007-05-171-0/+226
2006-05-16 Xavier Claessens <xclaesse@gmail.com> * 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. svn path=/trunk/; revision=70