gimp r26358 - in branches/soc-2008-tagging: . app/widgets



Author: aurisj
Date: Sun Aug  3 19:22:41 2008
New Revision: 26358
URL: http://svn.gnome.org/viewvc/gimp?rev=26358&view=rev

Log:
2008-08-03  Aurimas JuÅka  <aurisj svn gnome org>

	* app/widgets/gimptagpopup.c (gimp_tag_popup_list_expose):
	don't draw focus rectangle on insensitive item.



Modified:
   branches/soc-2008-tagging/ChangeLog
   branches/soc-2008-tagging/app/widgets/gimptagpopup.c

Modified: branches/soc-2008-tagging/app/widgets/gimptagpopup.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimptagpopup.c	(original)
+++ branches/soc-2008-tagging/app/widgets/gimptagpopup.c	Sun Aug  3 19:22:41 2008
@@ -597,7 +597,8 @@
                                   (tag_popup->tag_data[i].bounds.x) * PANGO_SCALE,
                                   (tag_popup->tag_data[i].bounds.y - tag_popup->scroll_y) * PANGO_SCALE);
 
-      if (&tag_popup->tag_data[i] == tag_popup->prelight)
+      if (&tag_popup->tag_data[i] == tag_popup->prelight
+          && tag_popup->tag_data[i].state != GTK_STATE_INSENSITIVE)
         {
           gtk_paint_focus (widget->style, widget->window,
                            tag_popup->tag_data[i].state,



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