[baobab] Move embedded CSS to gnome-themes-standard



commit 66a7e0c069998c6b9560297d84f21394d868ca40
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Wed Oct 17 00:34:54 2012 +0200

    Move embedded CSS to gnome-themes-standard

 src/baobab-application.vala |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/src/baobab-application.vala b/src/baobab-application.vala
index 69dc919..4c6fc97 100644
--- a/src/baobab-application.vala
+++ b/src/baobab-application.vala
@@ -22,29 +22,6 @@
 
 namespace Baobab {
 
-    const string CSS_DATA = ".cell.baobab-level-cell.fill-block,
-.cell.baobab-level-cell.fill-block:selected,
-.cell.baobab-level-cell.fill-block:selected:hover {
-    background-color: #edd400;
-}
-
-.cell.baobab-level-cell.fill-block.level-low,
-.cell.baobab-level-cell.fill-block.level-low:hover {
-    background-color: #73d216;
-}
-
-.cell.baobab-level-cell.fill-block.level-high,
-.cell.baobab-level-cell.fill-block.level-high:hover {
-    background-color: #cc0000;
-}
-
-.cell.baobab-level-cell.fill-block:backdrop,
-.cell.baobab-level-cell.fill-block:hover:backdrop,
-.cell.baobab-level-cell.fill-block.level-low:backdrop,
-.cell.baobab-level-cell.fill-block.level-high:backdrop {
-    background-color: @theme_unfocused_text_color;
-}";
-
     public class Application : Gtk.Application {
         static Application baobab;
 
@@ -100,10 +77,6 @@ namespace Baobab {
 
             baobab = this;
 
-            var css_provider = new Gtk.CssProvider ();
-            css_provider.load_from_data (CSS_DATA, -1);
-            Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
-
             // Settings
             ui_settings = new Settings ("org.gnome.baobab.ui");
             prefs_settings = new Settings ("org.gnome.baobab.preferences");



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