aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
Commit message (Collapse)AuthorAgeFilesLines
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+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 tp_account_manager_dup_valid_accounts()Guillaume Desmottes2012-09-111-2/+2
| | | | | | tp_account_manager_get_valid_accounts() has been deprecated. Fix an accounts list leak in empathy-sanity-cleaning.
* empathy: rely on gtk_application_add_window() to manage the main loopGuillaume Desmottes2011-10-261-1/+3
| | | | | | | | We are not supposed to call gtk_main_quit() as we don't use gtk_main() any more. Instead we add the windows to the GtkApplication which will take care of exiting when they have been all destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=662504
* Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-2/+2
|
* Stop dealing with iconification of main window, just hide/present itXavier Claessens2011-05-261-4/+4
| | | | | It does not work with gnome-shell, unity and indicators anyway, so it is just complex code for no benefit anymore.
* status-icon: blink when we get a password requestJonny Lamb2010-12-101-1/+1
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Move notifications code from status-icon to notifications-approver (#635500)Guillaume Desmottes2010-11-231-259/+0
|
* Add Accept/Decline button in subscription notifications (#630706)Guillaume Desmottes2010-11-091-0/+54
|
* Port to libnotify 0.7.0William Jon McCann2010-10-191-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=631944
* GDK keys are now GDK_KEY_*Guillaume Desmottes2010-10-041-1/+1
|
* empathy_status_icon_new: always call status_icon_set_visibilityGuillaume Desmottes2010-07-121-3/+1
| | | | | | Seems calling gtk_widget_show() doesn't mark the window as active right away. This code used to work fine before but doesn't since we replace empathy_main_window_show() by empathy_main_window_dup().
* empathy_status_icon_new: don't ignore hide_contact_list (#623937)Guillaume Desmottes2010-07-121-1/+5
| | | | That's a regression introduced when we switch to GSettings.
* add accept/decline buttons to invitation notificationsGuillaume Desmottes2010-07-071-0/+1
|
* add accept/decline buttons to FT notificationsGuillaume Desmottes2010-07-071-0/+10
|
* add answer/decline buttons in call notifications (#597124)Guillaume Desmottes2010-07-071-0/+21
|
* Add 'Respond' button only for text channels and approve it directlyGuillaume Desmottes2010-07-071-7/+11
|
* factor out add_notification_actionsGuillaume Desmottes2010-07-071-9/+16
|
* status-icon: drop our ref on the window when disposingGuillaume Desmottes2010-07-021-0/+1
|
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-18/+16
|
* src/empathy-status-icon.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-2/+2
| | | | empathy_signal_connect_weak
* status-icon: don't approve event if notification bubble has been dismissedGuillaume Desmottes2010-04-091-26/+2
| | | | This code was broken anyway so we don't change the current behaviour.
* Support append hint in notifications (#607446)Nicolò Chieffo2010-04-011-14/+39
|
* empathy_window_present: remove useless 'steal_focus' argGuillaume Desmottes2010-03-151-1/+1
|
* Don't display the 'respond' button in presence notifications (#610032)Guillaume Desmottes2010-02-171-1/+2
| | | | | | This button doesn't make anything as this event is not activatable. Plan is to display better button at some point (see bug 597124) but for now let's remove this button when it's useless.
* Revert "Escape the header of the notification (#599431)"Guillaume Desmottes2010-01-131-7/+2
| | | | | | | | | | | This reverts commit 4363fe7a71208ee2d696211838f028ef97700b45. According to the notification spec, headers should not be escaped. Escaping them leads to displaying escaped text in the notification with some daemon (#603498). The bug #599431 was probably due to a bug in the notification-daemon and seems to work fine now.
* status_icon_update_tooltip: display the custom status msg, if any (#604481)Guillaume Desmottes2009-12-241-3/+11
|
* status_icon_update_tooltip: display a translated version of the default ↵Guillaume Desmottes2009-12-241-6/+10
| | | | status string
* status-icon: add "New Call" entry in the context menuGuillaume Desmottes2009-12-171-0/+9
|
* status-icon: use the account-manager directly to get our state and statusGuillaume Desmottes2009-11-191-10/+10
| | | | | Also wait that he AM is ready before trying to get the status. Partially fix bug #601235.
* change 'capa' to 'cap'Guillaume Desmottes2009-11-131-1/+1
|
* remove old commentGuillaume Desmottes2009-11-131-1/+0
|
* change empathy_notification_is_enabled to ↵Guillaume Desmottes2009-11-131-3/+3
| | | | | | | 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-1/+0
| | | | All its code was related to notifications.
* define constants for notify capabilitiesGuillaume Desmottes2009-11-131-1/+2
|
* status-icon: use EmpathyNotifyManager to check if the server supports the ↵Guillaume Desmottes2009-11-131-12/+5
| | | | 'actions' capa
* Force an unset presence type to appear as offline in the presence chooser ↵Jonny Lamb2009-11-121-0/+7
| | | | | | | | | | and status icon. An unset presence type *does* make sense, but not in these contexts. As an aside, there is no icon for an unset presence, so nothing is displayed, which is bad. Fixes bug #597819
* Merge branch 'accountz'Jonny Lamb2009-11-021-21/+39
|\
| * all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-1/+4
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * status-icon: port to new tp-glib account APIJonny Lamb2009-10-241-21/+36
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Escape the header of the notification (#599431)Guillaume Desmottes2009-10-291-2/+7
|/
* fix coding stylesGuillaume Desmottes2009-10-021-17/+15
|
* empathy-status-icon: check if notification daemon supports actionsGuillaume Desmottes2009-10-021-1/+21
|
* Add a "Respond" button to notifications to provide a positive action (#589408)Rob Bradford2009-10-021-0/+19
| | | | | The positive action is the same positive action that would be accomplished by clicking on the status icon.
* Merge back from masterSjoerd Simons2009-08-221-13/+22
|\
| * status_icon_update_notification: don't crash if event->message is NULLGuillaume Desmottes2009-08-071-1/+4
| | | | | | | | | | g_markup_escape_text isn't NULL-safe so we should be sure that event->message is not NULL before calling it.
| * Don't try to free NULL pixbufs.Will Thompson2009-08-051-7/+8
| | | | | | | | | | | | It's all very well to ensure that we don't pass a NULL pixbuf to libnotify, but we shouldn't then try to g_object_unref () the pointer without checking it's not NULL.
| * Escape markup in notifications and icon tooltipWill Thompson2009-08-051-7/+12
| | | | | | | | | | | | 7730ffd fixed this for the notifications that are produced by the chat window, but not for the ones produced by the status icon. Why these are separate code paths eludes me.
* | Move the responsibility of popping up the empathy accounts dialog out of the ↵Sjoerd Simons2009-07-161-17/+0
|/ | | | status icon
* Port the main of empathy to EmpathyAccountSjoerd Simons2009-07-011-5/+11
|
* fixed libnotify crashing if icon doesn't existAbderaouf Bencherait2009-06-301-1/+3
|
* empathy-status-icon: remove trailing tabsGuillaume Desmottes2009-06-251-2/+2
|
* Do not blink status icon for notification only eventsFrédéric Péters2009-06-231-5/+6
|
* Cope with status icon begin NULLSjoerd Simons2009-05-311-1/+2
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-1/+1
|
* empathy-status-icon: remove trailing spacesGuillaume Desmottes2009-05-151-1/+1
|
* Make use of GtkUIManager in EmpathyStatusIconXavier Claessens2009-04-161-19/+24
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2864
* Port EmpathyStatusIcon to new APIXavier Claessens2009-04-161-9/+5
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2863
* Escape to cancel from status editingDavyd Madeley2009-04-111-1/+1
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2776
* use new GtkStatusIcon tooltip methods, formatting the header in italics.Frederic Peters2009-03-271-10/+6
| | | | | | (requires new GTK+ version, bumped dependency to 2.16.0) (bug #575265) svn path=/trunk/; revision=2745
* status_icon_update_tooltip: don't display the event message if NULL. Fixes ↵Guillaume Desmottes2009-02-111-3/+6
| | | | | | | | bug #571184 (Guillaume Desmottes) From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2433
* Prefix "Empathy" to the notification enum.Xavier Claessens2009-01-311-2/+2
| | | | svn path=/trunk/; revision=2304
* Add a comment explaining why we activate the event in an idle.Xavier Claessens2009-01-311-0/+4
| | | | svn path=/trunk/; revision=2303
* Factor out some common code.Xavier Claessens2009-01-311-20/+3
| | | | svn path=/trunk/; revision=2302
* Always check if notifications are enabled when we update them.Xavier Claessens2009-01-311-9/+18
| | | | svn path=/trunk/; revision=2301
* Update the pixbuf when we receive an event update.Xavier Claessens2009-01-311-16/+25
| | | | svn path=/trunk/; revision=2300
* Use the avatar for all the events with a contact.Xavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2299
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-311-3/+4
| | | | svn path=/trunk/; revision=2294
* Make possible to use libnotify 0.4.4, to not force the usage of too recent ↵Xavier Claessens2009-01-311-2/+3
| | | | | | distributions. svn path=/trunk/; revision=2291
* Add a convenience function to avoid hacks when getting the pixbuf from the ↵Xavier Claessens2009-01-311-3/+2
| | | | | | icon name. svn path=/trunk/; revision=2288
* W.I.P. for notifications on chat window.Xavier Claessens2009-01-311-3/+6
| | | | svn path=/trunk/; revision=2285
* Don't update the event if the notification can't be shown.Xavier Claessens2009-01-311-1/+4
| | | | svn path=/trunk/; revision=2284
* Implement a logic for disabling notifications when away.Xavier Claessens2009-01-311-1/+20
| | | | svn path=/trunk/; revision=2282
* If the notification is not dismissed by the user, do not display other ↵Xavier Claessens2009-01-311-1/+8
| | | | | | notifications for new incoming messages. svn path=/trunk/; revision=2279
* Split the event description into header and message body.Xavier Claessens2009-01-311-22/+46
| | | | | | Add a way to update a pending event. svn path=/trunk/; revision=2278
* Insert an image in the notify baloon.Xavier Claessens2009-01-311-2/+19
| | | | svn path=/trunk/; revision=2276
* Adapt the status icon message to the new API.Xavier Claessens2009-01-311-4/+11
| | | | svn path=/trunk/; revision=2275
* Require latest libnotify. Don't crash when clicking the notification.Xavier Claessens2009-01-311-26/+17
| | | | svn path=/trunk/; revision=2274
* mimic tooltip and icon notifications; unref any outstanding notificationXavier Claessens2009-01-311-15/+41
| | | | | | on finalize svn path=/trunk/; revision=2272
* generify notification; add idle activation of eventXavier Claessens2009-01-311-22/+40
| | | | svn path=/trunk/; revision=2270
* show notification on new eventXavier Claessens2009-01-311-0/+26
| | | | svn path=/trunk/; revision=2268
* Port EmpathyIdle to the new singleton policy.Xavier Claessens2009-01-091-2/+2
| | | | svn path=/trunk/; revision=2114
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2074
* Port EmpathyStatusIcon to the new API.Xavier Claessens2009-01-071-35/+28
| | | | svn path=/trunk/; revision=2043
* Move the event manager to src/Xavier Claessens2008-07-151-1/+1
| | | | svn path=/trunk/; revision=1253
* Move event code from EmpathyStatusIcon to EmpathyEventManagerXavier Claessens2008-07-151-368/+53
| | | | svn path=/trunk/; revision=1244
* Moved empathy-accounts-dialog from libempathy-gtk to src. (Jonny Lamb)Jonny Lamb2008-07-151-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1234
* Select the bugged account upon a failed connection. Fixes bug #536984 (Jonny ↵Jonny Lamb2008-07-041-1/+1
| | | | | | | | | | | | | Lamb). When a connection fails, a box in the main window appears with an "Edit Account" button. Clicking this button takes you to the account editor, but does nothing else. This patch moves the selection to the bugged account, for convenience. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1192
* Add -Wformat and and fix some compile warnings with gcc 4.3. Fixes bug ↵Xavier Claessens2008-06-081-1/+2
| | | | | | #537129 (Cosimo Cecchi). svn path=/trunk/; revision=1152
* Close contact list when Escape is pressed. Fixes bug #536628 (Ross Burton).Xavier Claessens2008-06-081-1/+17
| | | | svn path=/trunk/; revision=1151
* Add a command line option to hide contact list on startup. Fixes bug #535080 ↵Xavier Claessens2008-06-041-4/+8
| | | | | | (Marco Pesenti Gritti). svn path=/trunk/; revision=1146
* Fix warning in status iconXavier Claessens2008-05-231-1/+2
| | | | svn path=/trunk/; revision=1122
* Improve dispatcher. Fixes bug #465928.Xavier Claessens2008-05-181-106/+179
| | | | svn path=/trunk/; revision=1108
* Add a func to activate any eventXavier Claessens2008-05-141-15/+22
| | | | svn path=/trunk/; revision=1098
* Do not unref tp_chat directly in the message_received callback to avoid a crash.Xavier Claessens2008-05-091-1/+12
| | | | svn path=/trunk/; revision=1097
* Move non-gtk parts of EmpathyFilter to EmpathyDispatcher in libempathy, gtk ↵Xavier Claessens2008-05-091-31/+277
| | | | | | parts are now in EmpathyStatusIcon svn path=/trunk/; revision=1093
* 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
* initialize connection_statusFrederic Peters2008-04-201-1/+1
| | | | svn path=/trunk/; revision=1009
* keep track of connected status to disable menu item for "new conversation"Frederic Peters2008-04-201-0/+37
| | | | | | under the notification area icon. Fixes: #517300. (Frederic Peters) svn path=/trunk/; revision=1008
* Drop Chandler and Filter, do not use MC for dispatching channels, do it ourself.Xavier Claessens2008-04-201-568/+168
| | | | svn path=/trunk/; revision=967
* Fix some warningsXavier Claessens2008-04-111-0/+4
| | | | svn path=/trunk/; revision=926
* Update for new APIXavier Claessens2008-04-111-91/+43
| | | | svn path=/trunk/; revision=907
* Uncommend the use of empathy_contact_run_until_ready, it works nowXavier Claessens2008-04-111-2/+1
| | | | svn path=/trunk/; revision=890
* Comment out a empathy_contact_run_until_ready call because it doesn't work.Xavier Claessens2008-04-031-1/+2
| | | | svn path=/trunk/; revision=865
* Update status icon for new chat APIXavier Claessens2008-04-021-1/+1
| | | | svn path=/trunk/; revision=831
* Do not autoconnect if networkmanager says we are not connected at startup.Xavier Claessens2008-03-171-24/+0
| | | | svn path=/trunk/; revision=815
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-171-1/+4
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Move modules that make no sense to be used in other applicaton from ↵Xavier Claessens2008-03-141-0/+863
libempathy-gtk/ to src/ svn path=/trunk/; revision=789