gtkheaderbar: add titlebutton styleclass to the separator

...of the window control buttons
This commit is contained in:
Lapo Calamandrei 2016-01-09 19:27:15 +01:00
parent 99365753bf
commit 6da0a0a106

View File

@ -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;