aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-15 22:00:54 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-15 22:00:54 +0800
commitb515bfa43019435873343cd0a3c5b3f1f97279d8 (patch)
tree4c6bb6112f271a33b3819f8bc333e876d6aaea9a /src
parent859716ab2ad25d5fbfd7a2c150929dfc4ee40fd1 (diff)
downloadgsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar.gz
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar.bz2
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar.lz
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar.xz
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.tar.zst
gsoc2013-empathy-b515bfa43019435873343cd0a3c5b3f1f97279d8.zip
Prevent to start a chat when activating a row with an event
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1255 4ee84921-47dd-4033-b63a-18d7a039a3e4
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;
}
}