[nautilus] nautilus-pathbar.c: Rename path-bar class name



commit 9a5c815a2be08a2df053418f6f131e0a66f0f7d1
Author: Vaibhav Yadav <yadav vaibhav46 yahoo com>
Date:   Wed Dec 19 08:55:12 2018 +0000

    nautilus-pathbar.c: Rename path-bar class name
    
    path-bar class name was clashing with the one in gtk.
    
    Hence renaming the same to nautilus-path-bar.

 src/nautilus-pathbar.c        | 2 +-
 src/resources/css/Adwaita.css | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 2a7bdc42e..2723ab62c 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -229,7 +229,7 @@ nautilus_path_bar_init (NautilusPathBar *self)
     gtk_widget_set_margin_end (GTK_WIDGET (self), 6);
 
     gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self)),
-                                 "path-bar");
+                                 "nautilus-path-bar");
 
     /* Action group */
     self->action_group = G_ACTION_GROUP (g_simple_action_group_new ());
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index b1e510903..2637a1152 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -51,16 +51,16 @@
 
 /* Path bar */
 
-.path-bar button { /* undecorate the buttons */
+.nautilus-path-bar button { /* undecorate the buttons */
   background-image: none;
   border-radius: 0;
   border-width: 0px;
   margin: 0px;
 }
 
-.path-bar button:not(:checked) image { opacity: 0.8; } /* dim the icon when not checked */
+.nautilus-path-bar button:not(:checked) image { opacity: 0.8; } /* dim the icon when not checked */
 
-.path-bar button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
+.nautilus-path-bar button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
 
 .path-bar-box {
   transition: border 200ms;


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