[epiphany/mcatanzaro/action-bar-start] action-bar-start: remove redundant menu popup



commit cd1787b4c6eb838c45a3061e59e4991b759f7f86
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Nov 27 13:26:51 2019 -0600

    action-bar-start: remove redundant menu popup
    
    There is no need to pop up the menu in button release here, because it
    is opened during button press.

 src/ephy-action-bar-start.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/ephy-action-bar-start.c b/src/ephy-action-bar-start.c
index a6b71688d..55978ad00 100644
--- a/src/ephy-action-bar-start.c
+++ b/src/ephy-action-bar-start.c
@@ -370,10 +370,6 @@ navigation_button_release_event_cb (GtkButton *button,
         g_action_activate (action, NULL);
       }
       return GDK_EVENT_STOP;
-    case GDK_BUTTON_SECONDARY:
-      popup_history_menu (GTK_WIDGET (button), EPHY_WINDOW (gtk_widget_get_ancestor (GTK_WIDGET 
(action_bar_start), EPHY_TYPE_WINDOW)),
-                          direction, (GdkEventButton *)event);
-      return GDK_EVENT_STOP;
     default:
       break;
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]