[nautilus/implement-new-search-information-bar: 2/4] window-slot: Remove obsolete searchbar style



commit 3c1a71e30b057fdace6cadc21bcd79fd92170d9b
Author: Carlos Soriano <csoriano redhat com>
Date:   Fri Jul 13 19:15:49 2018 +0200

    window-slot: Remove obsolete searchbar style
    
    With the new design this was not used, remove it.

 src/nautilus-window-slot.c    | 2 --
 src/resources/css/Adwaita.css | 9 ---------
 2 files changed, 11 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index f9a15620c..8cebd3466 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -863,8 +863,6 @@ nautilus_window_slot_constructed (GObject *object)
     gtk_widget_show (GTK_WIDGET (self));
 
     extras_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-    style_context = gtk_widget_get_style_context (extras_vbox);
-    gtk_style_context_add_class (style_context, "searchbar-container");
     priv->extra_location_widgets = extras_vbox;
     gtk_box_pack_start (GTK_BOX (self), extras_vbox, FALSE, FALSE, 0);
     gtk_widget_show (extras_vbox);
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 91404fb20..c58c64108 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -147,10 +147,6 @@ entry.search > * {
   padding: 0px;
 }
 
-.search-bar {
-    box-shadow: none;
-}
-
 @define-color disk_space_unknown #888a85;
 @define-color disk_space_used #729fcf;
 @define-color disk_space_free #eeeeec;
@@ -197,11 +193,6 @@ entry.search > * {
     border-style: none;
 }
 
-/* Workaround for the double border of the searchbar since we use a revealer which
- * always allocates at least 1 pixel */
-searchbar { border-top: 1px solid @borders; }
-.searchbar-container { margin-top: -1px; }
-
 @define-color conflict_bg #fef6b6;
 
 .conflict-row {


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