[nautilus] floating-bar: make it more similar to the mockups
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] floating-bar: make it more similar to the mockups
- Date: Thu, 17 Feb 2011 16:28:52 +0000 (UTC)
commit db0c274ffaa2d4d95329716cad8b5af319fa9936
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Feb 14 12:37:47 2011 -0500
floating-bar: make it more similar to the mockups
data/nautilus.css | 10 +++++++++-
src/nautilus-floating-bar.c | 3 ---
2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/data/nautilus.css b/data/nautilus.css
index 3df18ee..9b00da4 100644
--- a/data/nautilus.css
+++ b/data/nautilus.css
@@ -23,7 +23,15 @@ GtkTreeView.NautilusSidebar {
ythickness: 0;
}
-.nautilus-floating-bar {
+NautilusFloatingBar {
background-color: #fdf6bb;
border-color: #f4e564;
+ border-radius: 1;
+ border-width: 2;
+}
+
+NautilusFloatingBar > GtkBox {
+ border-color: #fdf6bb;
+ background-color: #fdf6bb;
+ border-width: 0;
}
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index 891f9e0..9ead0e3 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -209,9 +209,6 @@ nautilus_floating_bar_init (NautilusFloatingBar *self)
{
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, NAUTILUS_TYPE_FLOATING_BAR,
NautilusFloatingBarDetails);
-
- gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self)),
- "nautilus-floating-bar");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]