On Tue, 2014-03-18 at 23:31 +0100, Andre Klapper wrote: > Patch to review welcome, once it's ready and tested.
This is the patch. commit 03459568d9f7a48e0f78ca56211d0dadbfd82b64 Author: Matthew Barnes <[email protected]> Date: Tue Mar 18 09:30:46 2014 -0400 Forbid header bars in stock GTK+ dialogs. Even in GNOME Shell, header bars look very out of place in Evolution. Override the system-wide setting to suppress them. diff --git a/shell/e-shell.c b/shell/e-shell.c index b1a8e7e..818d50e 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -801,6 +801,14 @@ shell_window_added (GtkApplication *application, (gintptr) window); gtk_window_set_role (window, role); g_free (role); + +#if GTK_CHECK_VERSION(3,11,5) + /* Forbid header bars in stock GTK+ dialogs. + * They look very out of place in Evolution. */ + gtk_settings_set_long_property ( + gtk_widget_get_settings (GTK_WIDGET (window)), + "gtk-dialogs-use-header", FALSE, PACKAGE_NAME); +#endif } static gboolean _______________________________________________ [email protected] https://mail.gnome.org/mailman/listinfo/release-team Release-team lurker? Do NOT participate in discussions.
