[Rigo] initialize the CSS provider as soon as possible, fixes a glitch with GTK 3.10
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user