[empathy: 36/53] Add more comments to debug_dialog_press_event_cb.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 36/53] Add more comments to debug_dialog_press_event_cb.
- Date: Thu, 4 Jun 2009 12:18:04 -0400 (EDT)
commit b096d874c2ffc78d38849cc5a8d98bcdf98cc2ec
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Thu Apr 23 11:55:44 2009 +0100
Add more comments to debug_dialog_press_event_cb.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
src/empathy-debug-dialog.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 8aaf42d..15864b7 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]