From 6928aedb2c7a8e67f7c0216fb9207bb0e6b4375f Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 22 Aug 2013 16:16:05 +0100 Subject: [PATCH] window: add a style class when we automatically create the titlebar To distinguish it from custom titlebars added from applications. https://bugzilla.gnome.org/show_bug.cgi?id=706592 --- gtk/gtkwindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 18bcbc77ba..fec88e8e6a 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -5273,6 +5273,7 @@ create_titlebar (GtkWindow *window) NULL); context = gtk_widget_get_style_context (titlebar); gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLEBAR); + gtk_style_context_add_class (context, "default-decoration"); title = g_markup_printf_escaped ("%s", priv->title ? priv->title : get_default_title ());