[Rigo] initialize the CSS provider as soon as possible, fixes a glitch with GTK 3.10

This commit is contained in:
Fabio Erculiani
2013-12-08 07:37:20 +01:00
parent a13d78d840
commit f758c1bfb5

View File

@@ -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.