From 9e52fa93d4968ac584949a3f9ef047b0b7521009 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 Mar 2011 15:02:57 +0100 Subject: [PATCH] Don't check for impossible mouse button value --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index c5cdded8..bba25901 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;