Re: Code freeze break for Evolution
- From: Matthew Barnes <mbarnes redhat com>
- To: Andre Klapper <ak-47 gmx net>
- Cc: release-team gnome org
- Subject: Re: Code freeze break for Evolution
- Date: Tue, 18 Mar 2014 18:38:54 -0400
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 <mbarnes redhat com>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]