[Xfce4-commits] <midori:master> Don't check for impossible mouse button value

Christian Dywan noreply at xfce.org
Sun Mar 13 15:04:03 CET 2011


Updating branch refs/heads/master
         to 9e52fa93d4968ac584949a3f9ef047b0b7521009 (commit)
       from ab04194ee4e433e8f15598fc81a093d2b167aded (commit)

commit 9e52fa93d4968ac584949a3f9ef047b0b7521009
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Mar 13 15:02:57 2011 +0100

    Don't check for impossible mouse button value

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index c5cdded..bba2590 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4876,7 +4876,7 @@ midori_browser_notebook_button_press_event_after_cb (GtkNotebook*    notebook,
         g_list_free (tabs);
         gtk_widget_show_all (menu);
         katze_widget_popup (GTK_WIDGET (notebook), GTK_MENU (menu), NULL,
-            event->button == -1 ? KATZE_MENU_POSITION_LEFT : KATZE_MENU_POSITION_CURSOR);
+            KATZE_MENU_POSITION_CURSOR);
     }
 
     return FALSE;



More information about the Xfce4-commits mailing list