[nautilus] Remove border on statusbar
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Remove border on statusbar
- Date: Thu, 10 Dec 2009 17:16:53 +0000 (UTC)
commit 09efd40fbb2cd924bfee6650bea50e2ffb21a349
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 10 16:12:00 2009 +0100
Remove border on statusbar
https://bugzilla.gnome.org/show_bug.cgi?id=499361
src/nautilus-window.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 6df1ecb..34d3279 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -157,6 +157,14 @@ nautilus_window_init (NautilusWindow *window)
window->details->show_hidden_files_mode = NAUTILUS_WINDOW_SHOW_HIDDEN_FILES_DEFAULT;
+ /* Remove Top border on GtkStatusBar */
+ gtk_rc_parse_string (
+ "style \"statusbar-no-border\"\n"
+ "{\n"
+ " GtkStatusbar::shadow_type = GTK_SHADOW_NONE\n"
+ "}\n"
+ "widget \"*.statusbar-noborder\" style \"statusbar-no-border\"");
+
/* Set initial window title */
gtk_window_set_title (GTK_WINDOW (window), _("Nautilus"));
@@ -166,6 +174,7 @@ nautilus_window_init (NautilusWindow *window)
gtk_container_add (GTK_CONTAINER (window), table);
statusbar = gtk_statusbar_new ();
+ gtk_widget_set_name (statusbar, "statusbar-noborder");
window->details->statusbar = statusbar;
gtk_table_attach (GTK_TABLE (table),
statusbar,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]