[epiphany/gnome-40] tab-view: Apply expand and visibility settings on startup



commit ae8254baa5ca319ff49b203cb33cddd0edc4d357
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 22 15:28:15 2021 +0500

    tab-view: Apply expand and visibility settings on startup
    
    Fixes https://gitlab.gnome.org/GNOME/epiphany/-/issues/1512
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/952>
    
    
    (cherry picked from commit 45e54573dbf26cf1f9e9e58440ec0dc96bf545ec)

 src/ephy-tab-view.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/ephy-tab-view.c b/src/ephy-tab-view.c
index 2732ce1aa..7fe89ab0f 100644
--- a/src/ephy-tab-view.c
+++ b/src/ephy-tab-view.c
@@ -649,6 +649,9 @@ ephy_tab_view_set_tab_bar (EphyTabView *self,
                              "changed::" EPHY_PREFS_UI_EXPAND_TABS_BAR,
                              G_CALLBACK (expand_changed_cb), self,
                              G_CONNECT_SWAPPED);
+
+    visibility_policy_changed_cb (self);
+    expand_changed_cb (self);
   }
 
   settings = gtk_settings_get_default ();


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