gimp r26380 - in branches/soc-2008-tagging: . app/widgets
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26380 - in branches/soc-2008-tagging: . app/widgets
- Date: Tue, 5 Aug 2008 11:44:01 +0000 (UTC)
Author: aurisj
Date: Tue Aug 5 11:44:01 2008
New Revision: 26380
URL: http://svn.gnome.org/viewvc/gimp?rev=26380&view=rev
Log:
2008-08-05 Aurimas JuÅka <aurisj svn gnome org>
* app/widgets/gimptagpopup.c (gimp_tag_popup_layout_tags),
(gimp_tag_popup_list_expose): decreased height of tag highlight.
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 Tue Aug 5 11:44:01 2008
@@ -377,13 +377,13 @@
if (tag_popup->tag_data[i].bounds.width + x + 3 +GIMP_TAG_POPUP_MARGIN > width)
{
x = GIMP_TAG_POPUP_MARGIN;
- y += line_height + 4;
+ y += line_height + 2;
}
tag_popup->tag_data[i].bounds.x = x;
tag_popup->tag_data[i].bounds.y = y;
- x += tag_popup->tag_data[i].bounds.width + space_width + 3;
+ x += tag_popup->tag_data[i].bounds.width + space_width + 5;
}
height = y + line_height + GIMP_TAG_POPUP_MARGIN;
@@ -614,10 +614,10 @@
if (tag_popup->tag_data[i].state == GTK_STATE_SELECTED)
{
gdk_draw_rectangle (widget->window, gc, FALSE,
- tag_popup->tag_data[i].bounds.x,
- tag_popup->tag_data[i].bounds.y - tag_popup->scroll_y,
- tag_popup->tag_data[i].bounds.width,
- tag_popup->tag_data[i].bounds.height);
+ tag_popup->tag_data[i].bounds.x - 1,
+ tag_popup->tag_data[i].bounds.y - tag_popup->scroll_y + 1,
+ tag_popup->tag_data[i].bounds.width + 2,
+ tag_popup->tag_data[i].bounds.height - 2);
}
pango_renderer_draw_layout (renderer, tag_popup->layout,
(tag_popup->tag_data[i].bounds.x) * PANGO_SCALE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]