gtk+ r20202 - in trunk: . gtk



Author: matthiasc
Date: Wed May 28 01:30:37 2008
New Revision: 20202
URL: http://svn.gnome.org/viewvc/gtk+?rev=20202&view=rev

Log:
        Bug 404571 â Scroll arrow backgrounds should be painted with different
        detail

        * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
        as detail when drawing scroll arrow backgrounds. Proposed by
        Tommi Komulainen.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkmenu.c

Modified: trunk/gtk/gtkmenu.c
==============================================================================
--- trunk/gtk/gtkmenu.c	(original)
+++ trunk/gtk/gtkmenu.c	Wed May 28 01:30:37 2008
@@ -2514,7 +2514,7 @@
 			 widget->window,
 			 priv->upper_arrow_state,
                          GTK_SHADOW_OUT,
-			 &event->area, widget, "menu",
+			 &event->area, widget, "menu_scroll_arrow_up",
                          upper.x,
                          upper.y,
                          upper.width,
@@ -2538,7 +2538,7 @@
 			 widget->window,
 			 priv->lower_arrow_state,
                          GTK_SHADOW_OUT,
-			 &event->area, widget, "menu",
+			 &event->area, widget, "menu_scroll_arrow_down",
                          lower.x,
                          lower.y,
                          lower.width,



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