Updating branch refs/heads/master
         to e287bb91ab2e776766da7810de4cd3c6f2b6cff3 (commit)
       from 6ea4f47de894b5d39e9f839b3e1cbf4dfea6afb4 (commit)

commit e287bb91ab2e776766da7810de4cd3c6f2b6cff3
Author: Ján Sučan <su...@runbox.com>
Date:   Tue Sep 17 01:42:33 2013 +0200

    Use identifiers instead of magic numbers

 panel-plugin/mailwatch-plugin.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/mailwatch-plugin.c b/panel-plugin/mailwatch-plugin.c
index 9a5da55..c3b4f16 100644
--- a/panel-plugin/mailwatch-plugin.c
+++ b/panel-plugin/mailwatch-plugin.c
@@ -162,7 +162,7 @@ mailwatch_button_press_cb(GtkWidget *w,
                           GdkEventButton *evt,
                           gpointer user_data)
 {
-    if (evt->button == 2)
+    if (evt->button == MOUSE_BUTTON_MIDDLE)
         gtk_button_pressed(GTK_BUTTON(w));
     
     return FALSE;
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to