[gitg] window: add titlebar style to headerbar if not using native controls



commit f015cd292b23a75324b20873a2a1ec6a820c779c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Dec 17 22:32:32 2015 +0100

    window: add titlebar style to headerbar if not using native controls

 gitg/gitg-window.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index e1aa743..d189ef1 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -199,6 +199,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
                else
                {
                        d_header_bar.show_close_button = true;
+                       d_header_bar.get_style_context().add_class("titlebar");
                }
 
                add_action_entries(win_entries, this);


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