[nautilus] window: add back the resize grip
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: add back the resize grip
- Date: Tue, 15 Mar 2011 14:38:56 +0000 (UTC)
commit 45945cd45776a020b1f8ce5e61c0db7faa1895f4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 15 10:37:43 2011 -0400
window: add back the resize grip
At the same time, add a bit more padding to the floating bar label, so
that it won't be covered by the grip.
Remove some margin at the bottom of the window too.
data/nautilus.css | 5 -----
src/nautilus-floating-bar.c | 4 ++--
src/nautilus-window.c | 5 -----
3 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/data/nautilus.css b/data/nautilus.css
index 5e7ff49..b5d50fc 100644
--- a/data/nautilus.css
+++ b/data/nautilus.css
@@ -4,10 +4,6 @@
-NautilusIconContainer-light-info-rgba: shade (@selected_fg_color, 0.6);
}
-#statusbar-no-border {
- -GtkStatusbar-shadow-type: none;
-}
-
#nautilus-extra-view-widget {
background-color: #a7c6e1;
}
@@ -19,7 +15,6 @@
ythickness: 0;
}
-
NautilusFloatingBar {
background-color: shade (@theme_base_color, 0.95);
border-color: darker (shade (@theme_base_color, 0.95));
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index d0f4e54..f9c509d 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -201,8 +201,8 @@ nautilus_floating_bar_constructed (GObject *obj)
g_object_set (w,
"margin-top", 2,
"margin-bottom", 2,
- "margin-left", 6,
- "margin-right", 6,
+ "margin-left", 12,
+ "margin-right", 12,
NULL);
self->priv->label_widget = w;
gtk_widget_show (w);
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 2b6e1ab..a9813ab 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -578,10 +578,7 @@ nautilus_window_constructed (GObject *self)
gtk_widget_show (table);
gtk_container_add (GTK_CONTAINER (window), table);
- gtk_widget_set_margin_bottom (GTK_WIDGET (window), 3);
-
statusbar = gtk_statusbar_new ();
- gtk_widget_set_name (statusbar, "statusbar-noborder");
window->details->statusbar = statusbar;
window->details->help_message_cid = gtk_statusbar_get_context_id
(GTK_STATUSBAR (statusbar), "help_message");
@@ -2021,8 +2018,6 @@ nautilus_window_init (NautilusWindow *window)
/* Set initial window title */
gtk_window_set_title (GTK_WINDOW (window), _("Nautilus"));
-
- gtk_window_set_has_resize_grip (GTK_WINDOW (window), FALSE);
}
static NautilusIconInfo *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]