Blame SOURCES/evolution-3.12.11-remove-skip-lookup-button.patch

4b6d7b
diff -up evolution-3.12.11/shell/e-shell.c.remove-skip-lookup-button evolution-3.12.11/shell/e-shell.c
4b6d7b
--- evolution-3.12.11/shell/e-shell.c.remove-skip-lookup-button	2014-09-15 13:08:34.000000000 +0200
4b6d7b
+++ evolution-3.12.11/shell/e-shell.c	2015-05-04 18:35:32.656094474 +0200
4b6d7b
@@ -823,14 +823,6 @@ shell_window_added (GtkApplication *appl
4b6d7b
 		(gintptr) window);
4b6d7b
 	gtk_window_set_role (window, role);
4b6d7b
 	g_free (role);
4b6d7b
-
4b6d7b
-#if GTK_CHECK_VERSION(3,11,5)
4b6d7b
-	/* Forbid header bars in stock GTK+ dialogs.
4b6d7b
-	 * They look very out of place in Evolution. */
4b6d7b
-	g_object_set (
4b6d7b
-		gtk_widget_get_settings (GTK_WIDGET (window)),
4b6d7b
-		"gtk-dialogs-use-header", FALSE, NULL);
4b6d7b
-#endif
4b6d7b
 }
4b6d7b
 
4b6d7b
 static gboolean
4b6d7b
@@ -874,6 +866,14 @@ shell_initable_init (GInitable *initable
4b6d7b
 	g_object_unref (proxy_source);
4b6d7b
 	g_object_unref (registry);
4b6d7b
 
4b6d7b
+#if GTK_CHECK_VERSION(3,11,5)
4b6d7b
+	/* Forbid header bars in stock GTK+ dialogs.
4b6d7b
+	 * They look very out of place in Evolution. */
4b6d7b
+	g_object_set (
4b6d7b
+		gtk_settings_get_default (),
4b6d7b
+		"gtk-dialogs-use-header", FALSE, NULL);
4b6d7b
+#endif
4b6d7b
+
4b6d7b
 	return TRUE;
4b6d7b
 }
4b6d7b