[Xfce4-commits] <xfce4-settings:master> Don't draw the gradient on the main window toolbar.
Jérôme Guelfucci
noreply at xfce.org
Tue Jan 19 19:34:43 CET 2010
Updating branch refs/heads/master
to 0fce12e74f7157fdb2a7f5bac53824be9f80c1db (commit)
from 04a25015d92111cebfb12c049ba145e203d74264 (commit)
commit 0fce12e74f7157fdb2a7f5bac53824be9f80c1db
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sat Jan 16 15:12:50 2010 +0100
Don't draw the gradient on the main window toolbar.
xfce4-settings-editor/main.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/xfce4-settings-editor/main.c b/xfce4-settings-editor/main.c
index 1991d5d..1b2d15d 100644
--- a/xfce4-settings-editor/main.c
+++ b/xfce4-settings-editor/main.c
@@ -96,6 +96,13 @@ main(gint argc, gchar **argv)
return EXIT_FAILURE;
}
+ /* We don't want a gradient on our toolbar */
+ gtk_rc_parse_string ("style \"xfce-no-shadow\"\n"
+ "{\n"
+ "GtkToolbar::shadow-type = GTK_SHADOW_NONE\n"
+ "}\n"
+ "class \"*\" style \"xfce-no-shadow\"\n");
+
dialog = xfce4_settings_editor_main_window_new();
gtk_dialog_run (dialog);
More information about the Xfce4-commits
mailing list