From f758c1bfb5dc7ec4366763e216c069b08b4096f6 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 8 Dec 2013 07:37:20 +0100 Subject: [PATCH] [Rigo] initialize the CSS provider as soon as possible, fixes a glitch with GTK 3.10 --- rigo/rigo_app.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rigo/rigo_app.py b/rigo/rigo_app.py index 971a22c71..e8beceb62 100644 --- a/rigo/rigo_app.py +++ b/rigo/rigo_app.py @@ -352,6 +352,14 @@ class Rigo(Gtk.Application): Gdk.Screen.get_default(), DATA_DIR) + # Force the initialization of the css provider asap. + # This fixes a glitch with GTK 3.10 + init_sc_css_provider( + self._window, + settings, + Gdk.Screen.get_default(), + DATA_DIR) + self._nc = UpperNotificationViewController( self._entropy, self._entropy_ws, self._notification) # Bottom NotificationBox controller.