aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-07 17:08:45 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 18:33:56 +0800
commit023eba833dab183c7d31250649290acdd5eff32d (patch)
tree7424666a75261d385ab603e97b90ad8f60eee7b6 /src/empathy-chat-window.c
parent1c41a18e144b49a0ed793d907db93a049a9d1354 (diff)
downloadgsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar.gz
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar.bz2
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar.lz
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar.xz
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.tar.zst
gsoc2013-empathy-023eba833dab183c7d31250649290acdd5eff32d.zip
chat-window: don't present chat if notification has been dismissed
Clicking on a notification mean 'please go away'. If user wants to approve the action he has to click on the 'Reply' button. This code was broken anyway so we don't change the current behaviour.
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 9f5fb6c26..efdb29184 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1212,16 +1212,8 @@ static void
chat_window_notification_closed_cb (NotifyNotification *notify,
NotificationData *cb_data)
{
- EmpathyNotificationClosedReason reason = 0;
EmpathyChatWindowPriv *priv = GET_PRIV (cb_data->window);
-#ifdef notify_notification_get_closed_reason
- reason = notify_notification_get_closed_reason (notify);
-#endif
- if (reason == EMPATHY_NOTIFICATION_CLOSED_DISMISSED) {
- empathy_chat_window_present_chat (cb_data->chat);
- }
-
g_object_unref (notify);
free_notification_data (cb_data);