[Xfce4-commits] <xfce4-settings:jeromeg/settings-editor> Don't draw the gradient on the main window toolbar.
Jérôme Guelfucci
noreply at xfce.org
Sat Jan 16 15:10:01 CET 2010
Updating branch refs/heads/jeromeg/settings-editor
to a522ac62a9feedfdfca66f8de417168c3dfdb222 (commit)
from 2105949653f32a92f2d3f17568186c52ed21e7b1 (commit)
commit a522ac62a9feedfdfca66f8de417168c3dfdb222
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 8c6dcab..7589054 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