aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-15 22:00:54 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-15 22:00:54 +0800
commita88e050a3bc3178a146e259fa9e284c0980658d6 (patch)
tree4c6bb6112f271a33b3819f8bc333e876d6aaea9a /src
parentc965d3f5c7d48e4f577817eb369ab0e771bb9c2a (diff)
downloadgsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar.gz
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar.bz2
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar.lz
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar.xz
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.tar.zst
gsoc2013-empathy-a88e050a3bc3178a146e259fa9e284c0980658d6.zip
Prevent to start a chat when activating a row with an event
svn path=/trunk/; revision=1255
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 577f45bb3..371d9d1e9 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -352,7 +352,11 @@ main_window_row_activated_cb (EmpathyContactListView *view,
EmpathyEvent *event = l->data;
if (event->contact == contact) {
+ DEBUG ("Activate event");
empathy_event_activate (event);
+
+ /* We don't want the default handler of this signal */
+ g_signal_stop_emission_by_name (view, "row-activated");
break;
}
}