[caribou: 14/15] remove scan-style.css loading, not needed.



commit b6e4743c4b9c5aadce7daed48cfa651b5df3c26f
Author: Eitan Isaacson <eitan monotonous org>
Date:   Sat May 28 13:13:51 2011 -0700

    remove scan-style.css loading, not needed.

 caribou/antler/keyboard_view.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/caribou/antler/keyboard_view.py b/caribou/antler/keyboard_view.py
index 1192300..9402f36 100644
--- a/caribou/antler/keyboard_view.py
+++ b/caribou/antler/keyboard_view.py
@@ -250,15 +250,6 @@ class AntlerKeyboardView(Gtk.Notebook):
                 Gdk.Screen.get_default(), self._app_css_provider,
                 Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
 
-
-        self._scan_css_provider = Gtk.CssProvider()
-        self._load_style(
-            self._scan_css_provider, "scan-style.css",
-            [glib.get_user_data_dir()] + list(glib.get_system_data_dirs()))
-        Gtk.StyleContext.add_provider_for_screen(
-                Gdk.Screen.get_default(), self._scan_css_provider,
-                Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
-
         self._user_css_provider = Gtk.CssProvider()
         self._load_style(self._user_css_provider, "user-style.css",
                          [glib.get_user_data_dir()])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]