[evolution] I#1961 - Missing divider lines and paddings under GNOME
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1961 - Missing divider lines and paddings under GNOME
- Date: Mon, 18 Jul 2022 09:35:57 +0000 (UTC)
commit 451e387ac0502131d797b11bd59b04c0650e9f4e
Author: Milan Crha <mcrha redhat com>
Date: Mon Jul 18 11:34:39 2022 +0200
I#1961 - Missing divider lines and paddings under GNOME
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1961
src/shell/e-shell-window.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/shell/e-shell-window.c b/src/shell/e-shell-window.c
index 1a3f7d2b34..805e2d30fb 100644
--- a/src/shell/e-shell-window.c
+++ b/src/shell/e-shell-window.c
@@ -1163,10 +1163,17 @@ e_shell_window_init (EShellWindow *shell_window)
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
GTK_STYLE_PROVIDER (css_provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+ g_clear_object (&css_provider);
/* If running on GNOME, force symbolic icons */
- if (e_util_is_running_gnome ())
+ if (e_util_is_running_gnome ()) {
+ css_provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (css_provider, css_icons, -1, NULL);
+ gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
+ GTK_STYLE_PROVIDER (css_provider),
+ GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+ g_clear_object (&css_provider);
+ }
g_signal_connect (shell_window, "delete-event",
G_CALLBACK (shell_window_delete_event_cb), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]