From: Christian Dywan Date: Sun, 13 Mar 2011 14:02:57 +0000 (+0100) Subject: Don't check for impossible mouse button value X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e52fa93d4968ac584949a3f9ef047b0b7521009;p=midori Don't check for impossible mouse button value --- 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;