[gnome-shell/wip/raresv/uiTweaks: 4/6] search.js: Replace the gradient separator with a simple line



commit 31079f336a4d2d7d2512c8f911b4daaba48e4df0
Author: raresvis <rares visalom gmail com>
Date:   Tue Jun 20 23:05:31 2017 +0300

    search.js: Replace the gradient separator with a simple line

 data/theme/gnome-shell.css |    7 ++-----
 js/ui/search.js            |    4 ++--
 2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 5a7c32c..e7978ae 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1177,11 +1177,8 @@ StScrollBar {
   margin-left: 30px; }
 
 .search-section-separator {
-  -gradient-height: 1px;
-  -gradient-start: rgba(255, 255, 255, 0);
-  -gradient-end: rgba(255, 255, 255, 0.1);
-  -margin-horizontal: 1.5em;
-  height: 1px; }
+  height: 2px;
+  background-color: rgba(255, 255, 255, 0.2); }
 
 .list-search-result-content {
   spacing: 12px;
diff --git a/js/ui/search.js b/js/ui/search.js
index 26f9f4c..e876692 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -149,8 +149,8 @@ const SearchResultsBase = new Lang.Class({
                                               y_fill: true });
         this.actor.add(this._resultDisplayBin, { expand: true });
 
-        let separator = new Separator.HorizontalSeparator({ style_class: 'search-section-separator' });
-        this.actor.add(separator.actor);
+        let separator = new St.DrawingArea({ style_class: 'search-section-separator' });
+        this.actor.add(separator);
 
         this._resultDisplays = {};
 


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