Fix up default csd titlebars

We were forgetting to show close buttons, and the spacing
was wrong, too.
This commit is contained in:
Matthias Clasen 2013-12-16 13:39:36 -05:00
parent 59a1f3a02a
commit 8bdc3ab4c5

View File

@ -5162,9 +5162,9 @@ create_titlebar (GtkWindow *window)
titlebar = gtk_header_bar_new ();
g_object_set (titlebar,
"spacing", 0,
"title", priv->title ? priv->title : get_default_title (),
"has-subtitle", FALSE,
"show-close-button", TRUE,
NULL);
context = gtk_widget_get_style_context (titlebar);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLEBAR);