aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-debug-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 8aaf42d61..15864b739 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -491,8 +491,11 @@ debug_dialog_button_press_event_cb (GtkTreeView *view,
GdkEventButton *event,
gpointer user_data)
{
+ /* A mouse button was pressed on the tree view. */
+
if (event->button == 3)
{
+ /* The tree view was right-clicked. (3 == third mouse button) */
MenuPopupData *data;
data = g_slice_new0 (MenuPopupData);
data->debug_dialog = user_data;