[epiphany/wip/exalm/elementary8: 1/2] tab-header-bar: Don't reserve space for subtitle



commit 71432ef689df8ce20feab353f259a8c33585e6a7
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Sep 26 01:24:02 2019 +0500

    tab-header-bar: Don't reserve space for subtitle
    
    It doesn't have a subtitle, and it stretches the headerbar with elementary
    stylesheet.

 src/ephy-tab-header-bar.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/ephy-tab-header-bar.c b/src/ephy-tab-header-bar.c
index 8a427d241..ea21eda6f 100644
--- a/src/ephy-tab-header-bar.c
+++ b/src/ephy-tab-header-bar.c
@@ -66,6 +66,7 @@ ephy_tab_header_bar_constructed (GObject *object)
   gtk_header_bar_pack_end (GTK_HEADER_BAR (self), new_tab_button);
 
   gtk_header_bar_set_title (GTK_HEADER_BAR (self), _("Tabs"));
+  gtk_header_bar_set_has_subtitle (GTK_HEADER_BAR (self), FALSE);
   gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (self), TRUE);
 
   gtk_widget_show_all (GTK_WIDGET (self));


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