gtk-engines r1159 - in trunk: . engines/redmond/src themes/Redmond/gtk-2.0
- From: thos svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1159 - in trunk: . engines/redmond/src themes/Redmond/gtk-2.0
- Date: Sun, 13 Apr 2008 21:41:16 +0100 (BST)
Author: thos
Date: Sun Apr 13 21:41:15 2008
New Revision: 1159
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1159&view=rev
Log:
2008-04-13 Thomas Wood <thos gnome org>
* engines/redmond/src/redmond_gtk2_drawing.c:
(redmond_draw_shadow):
* themes/Redmond/gtk-2.0/gtkrc:
Fix menu borders and padding
Modified:
trunk/ChangeLog
trunk/engines/redmond/src/redmond_gtk2_drawing.c
trunk/themes/Redmond/gtk-2.0/gtkrc
Modified: trunk/engines/redmond/src/redmond_gtk2_drawing.c
==============================================================================
--- trunk/engines/redmond/src/redmond_gtk2_drawing.c (original)
+++ trunk/engines/redmond/src/redmond_gtk2_drawing.c Sun Apr 13 21:41:15 2008
@@ -588,6 +588,15 @@
&redmond_style->color_cube.dark[state_type], x, y, width, height,
FALSE);
}
+ else if (CHECK_DETAIL (detail, "menu"))
+ {
+ ge_cairo_simple_border (cr, &redmond_style->color_cube.bg[state_type],
+ &redmond_style->black_border[state_type], x, y,
+ width, height, FALSE);
+ ge_cairo_simple_border (cr, &redmond_style->color_cube.light[state_type],
+ &redmond_style->color_cube.dark[state_type], x + 1, y + 1, width - 2,
+ height - 2, FALSE);
+ }
else
{
/* Normal OUT Border */
Modified: trunk/themes/Redmond/gtk-2.0/gtkrc
==============================================================================
--- trunk/themes/Redmond/gtk-2.0/gtkrc (original)
+++ trunk/themes/Redmond/gtk-2.0/gtkrc Sun Apr 13 21:41:15 2008
@@ -14,6 +14,10 @@
GtkButton::child_displacement_x = 1
GtkButton::child_displacement_y = 1
+ GtkMenu::horizontal-padding = 1
+ GtkMenu::vertical-padding = 1
+ GtkMenu::horizontal-offset = -6
+
GtkScrolledWindow::scrollbar-spacing = 0
GtkScrolledWindow::scrollbars-within-bevel = 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]