[gtk+] gtkheaderbar: add titlebutton styleclass to the separator



commit 6da0a0a106cebb1f06194c711820ddfa8c127ca8
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Jan 9 19:27:15 2016 +0100

    gtkheaderbar: add titlebutton styleclass to the separator
    
    ...of the window control buttons

 gtk/gtkheaderbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 1d51031..819fc4a 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -336,6 +336,7 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
 
           separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL);
           gtk_widget_set_no_show_all (separator, TRUE);
+          gtk_style_context_add_class (gtk_widget_get_style_context (separator), "titlebutton");
 
           if (i == 0)
             priv->titlebar_start_separator = separator;


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