GNOME Bugzilla – Bug 741236
Don't set "titlebar" class when using headerbar widget as a toolbar
Last modified: 2014-12-08 20:16:38 UTC
It doesn't really make sense in the headerbar as toolbar case, and is causing some theming issues on ubuntu themes.
Created attachment 292285 [details] [review] Don't set "titlebar" class when using headerbar widget as a toolbar
Review of attachment 292285 [details] [review]: ::: src/interface.cpp @@ +648,3 @@ headerbar = GTK_WIDGET (gtk_builder_get_object (builder, "header_bar")); + gtk_style_context_remove_class (gtk_widget_get_style_context (headerbar), "titlebar"); + gtk_style_context_add_class (gtk_widget_get_style_context (headerbar), "header-bar"); There's no need to set .header-bar here, because GtkHeaderBar already sets that on itself.
Created attachment 292291 [details] [review] Don't set "titlebar" class when using headerbar widget as a toolbar updated for lars' comment
Thanks for the patch. Attachment 292291 [details] pushed as 1d7839b - Don't set "titlebar" class when using headerbar widget as a toolbar