[nautilus] Pathbar: Add a style class
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Pathbar: Add a style class
- Date: Thu, 17 Jul 2014 17:37:31 +0000 (UTC)
commit 1afa25943d0d52a784113f4b2460205687a24dd9
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 17 13:36:37 2014 -0400
Pathbar: Add a style class
Use the same style class that GTK+ adds to its pathbar now, so
the two can share the theming.
src/nautilus-pathbar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index fc34051..4893a59 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -242,6 +242,8 @@ nautilus_path_bar_init (NautilusPathBar *path_bar)
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (path_bar)),
GTK_STYLE_CLASS_LINKED);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (path_bar)),
+ "path-bar");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]