[epiphany] window: Pass the notebook to the action bar



commit ba8865811ca0f8d358f58f7af9eeea2fb96a1765
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Nov 13 13:59:34 2018 +0100

    window: Pass the notebook to the action bar
    
    This lets the action bar display the opened pages in its dedicated menu
    button.

 src/ephy-window.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index faf948175..4366dea9f 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3314,6 +3314,9 @@ setup_action_bar (EphyWindow *window)
   gtk_revealer_set_transition_type (GTK_REVEALER (action_bar), GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP);
   gtk_widget_show (action_bar);
 
+  ephy_action_bar_set_notebook (EPHY_ACTION_BAR (action_bar),
+                                EPHY_NOTEBOOK (window->notebook));
+
   return action_bar;
 }
 


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