[gnome-themes-standard] Fix warnings for menu line separators



commit 3a0057856588388d406897fb66375d1b1a9f582a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jul 4 16:24:52 2012 -0400

    Fix warnings for menu line separators
    
    Use a 2x2 half-transparent asset as we do for other lines, and crop it
    differently when it's used in BOX mode.

 themes/Adwaita/gtk-2.0/Lines/menu_line.png   |  Bin 132 -> 0 bytes
 themes/Adwaita/gtk-2.0/Lines/menu_line_h.png |  Bin 0 -> 141 bytes
 themes/Adwaita/gtk-2.0/Makefile.am           |    2 +-
 themes/Adwaita/gtk-2.0/gtkrc                 |   12 ++++++------
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Lines/menu_line_h.png b/themes/Adwaita/gtk-2.0/Lines/menu_line_h.png
new file mode 100644
index 0000000..071d5a7
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Lines/menu_line_h.png differ
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index 4f2bb43..826d6c0 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -39,7 +39,7 @@ asset_data =
 	Handles/handle-v.png \
 	Lines/line-h.png \
 	Lines/line-v.png \
-	Lines/menu_line.png \
+	Lines/menu_line_h.png \
 	Menu-Menubar/menubar_button.png \
 	Menu-Menubar/menubar.png \
 	Others/bg.png \
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 08c3e00..3e6a9c7 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -571,10 +571,10 @@ style "menu"
 	{
 	image
 	{
-	function		= HLINE
-	file			= "Lines/menu_line.png"
-	border			= { 1, 1, 1, 1 }
-	stretch			= TRUE
+	  function			= HLINE
+	  file				= "Lines/menu_line_h.png"
+	  border			= { 0, 0, 0, 0 }
+	  stretch			= TRUE
 	}
     }
 }
@@ -1289,8 +1289,8 @@ style "separator_menu_item"
 		image 
       	{
         	function		= BOX
-		file        		= "Lines/menu_line.png"
-		border      		= { 1, 1, 1, 1 } # Needed for consistency in QGtkStyle
+		file        		= "Lines/menu_line_h.png"
+		border      		= { 0, 0, 1, 0 }
 		stretch         	= TRUE
       	}
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]