aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-notify-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* stop using tp_account_manager_is_prepared()Guillaume Desmottes2013-10-221-1/+1
| | | | It has been deprecated.
* pixbuf-utils: copy the generic pixbuf-related utily functions from EmpathyMarco Barisione2013-08-201-1/+2
| | | | | | | This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-4/+2
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Use a flat namespace for internal includesEmanuele Aina2013-04-011-3/+3
| | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Avoid include path overspecificationsEmanuele Aina2013-04-011-1/+1
| | | | | | | If we're under the libempathy directory there's no need to prefix include file paths with it, and the same is true for libempathy-gtk. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Use double quotes for all internal headersEmanuele Aina2013-04-011-4/+4
| | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-4/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* Consistently use `#include "config.h"` everywhereEmanuele Aina2013-03-281-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696718
* notification: set the "desktop-entry" hintGuillaume Desmottes2013-01-031-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691043
* factor out empathy_notify_manager_create_notification()Guillaume Desmottes2013-01-031-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691043
* include telepathy-glib.hGuillaume Desmottes2012-09-171-1/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-1/+1
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-2/+2
|
* notify-manager: cache the notification GSettingsGuillaume Desmottes2010-11-291-15/+12
|
* empathy_notify_manager_notification_is_enabled: properly check the ↵Guillaume Desmottes2010-10-181-1/+1
| | | | | | | EMPATHY_PREFS_NOTIFICATIONS_DISABLED_AWAY preference If this key is set, that means we do NOT want the notification when being away/busy.
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-17/+17
|
* notify-manager: unref the account mgr when disposingGuillaume Desmottes2009-11-191-0/+15
|
* notify-manager: use the account mgr directly instead of ↵Guillaume Desmottes2009-11-191-1/+39
| | | | empathy_check_available_state
* change 'capa' to 'cap'Guillaume Desmottes2009-11-131-5/+5
|
* empathy_notify_manager_init: no need to cast the return value of g_object_newGuillaume Desmottes2009-11-131-2/+1
|
* remove notify_manager_dispose as it doesn't do anythingGuillaume Desmottes2009-11-131-16/+0
|
* notify-manager: fetch capabilities in _init instead of _constructorGuillaume Desmottes2009-11-131-16/+13
|
* change empathy_notification_is_enabled to ↵Guillaume Desmottes2009-11-131-1/+1
| | | | | | | empathy_notify_manager_notification_is_enabled Making it a method of EmpathyNotifyManager would allow us to cache the gconf values if we want to.
* change empathy_misc_get_pixbuf_for_notification to ↵Guillaume Desmottes2009-11-131-1/+2
| | | | | | | | empathy_notify_manager_get_pixbuf_for_notification Making this function a method of EmpathyNotifyManager would allow us to tweak the size of the icon depending on the notifications server as suggested in bug 588054.
* move empathy-misc to empathy-notify-managerGuillaume Desmottes2009-11-131-0/+44
| | | | All its code was related to notifications.
* add empathy_notify_manager_has_capabilityGuillaume Desmottes2009-11-131-0/+9
|
* notify-manager: fetch capabilities of the notification serverGuillaume Desmottes2009-11-131-1/+23
|
* add stub EmpathyNotifyManager (#601691)Guillaume Desmottes2009-11-131-0/+112