[gnome-themes-standard] spinner: use icon



commit 670be025319066ec36b58edb8d5d5630d0a6ddb4
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu May 29 12:19:28 2014 +0200

    spinner: use icon
    
    - recolorable
    - sadly cannot use gradients :(

 themes/Adwaita/gtk-3.0/_common.scss           |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 22a8840..c8ba938 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -126,7 +126,7 @@
   background-image: none;
   background-color: blue;
   opacity: 0; // non spinning spinner makes no sense
-  -gtk-icon-source: url("assets/spinner.svg");
+  -gtk-icon-source: -gtk-icontheme('process-working-symbolic');
   &:active {
     opacity: 1;
     animation: spin 1s linear infinite;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 6925a27..b455606 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -90,7 +90,7 @@
   background-image: none;
   background-color: blue;
   opacity: 0;
-  -gtk-icon-source: url("assets/spinner.svg"); }
+  -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
   .spinner:active {
     opacity: 1;
     animation: spin 1s linear infinite; }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 4fe1c13..22298b3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -90,7 +90,7 @@
   background-image: none;
   background-color: blue;
   opacity: 0;
-  -gtk-icon-source: url("assets/spinner.svg"); }
+  -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
   .spinner:active {
     opacity: 1;
     animation: spin 1s linear infinite; }


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