[epiphany] Revert "window: Use dzl_application_window_set_titlebar"



commit c366ec751271a3dac2a3518c74f5a1f3115c1dfb
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Oct 25 12:20:02 2017 -0500

    Revert "window: Use dzl_application_window_set_titlebar"
    
    This reverts commit 391892d0577a7bd7df694885b4edccabd668bbca.
    
    It broke our incognito mode theme.
    
    In theory, this is necessary for displaying the header bar in fullscreen
    mode, which is something we've wanted to do for a long time. But it
    doesn't work, probably because WebKit draws over it or something. Since
    this commit is not doing anything for us right now besides breaking our
    custom theme, revert it.
    
    Now, it should be possible to avoid the need to revert this commit by
    fixing the theme. But I don't know how to do that.

 src/ephy-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ffdc29a..55d54f2 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3010,7 +3010,7 @@ setup_header_bar (EphyWindow *window)
   EphyTitleWidget *title_widget;
 
   header_bar = ephy_header_bar_new (window);
-  dzl_application_window_set_titlebar (DZL_APPLICATION_WINDOW (window), header_bar);
+  gtk_window_set_titlebar (GTK_WINDOW (window), header_bar);
   gtk_widget_show (header_bar);
 
   app_mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ());


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