]> spindle.queued.net Git - midori/commitdiff
Don't check for impossible mouse button value
authorChristian Dywan <christian@twotoasts.de>
Sun, 13 Mar 2011 14:02:57 +0000 (15:02 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 13 Mar 2011 14:03:45 +0000 (15:03 +0100)
midori/midori-browser.c

index c5cdded8861f901cb6a21710d2add1499c73e234..bba25901aafd0bfaa0b9c81dd33dd1b61f39a11e 100644 (file)
@@ -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;