Range patchlet
- From: Bill Haneman <bill haneman sun com>
- To: gtk-devel-list gnome org
- Subject: Range patchlet
- Date: Thu, 24 Jan 2002 14:15:10 +0000
Hi:
Here is a two-line patch that fixes a small bug in the gtkrange focus
drawing - note that without this patch, the focus indication is only
visible on the left and top edges, and is clipped out of the right and
bottom edges. With this patch the focus indication is contained
correctly inside the slider rectangle.
OK to commit ?
-Bill
Index: gtk/gtkrange.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkrange.c,v
retrieving revision 1.74
diff -u -r1.74 gtkrange.c
--- gtk/gtkrange.c 2002/01/09 10:28:02 1.74
+++ gtk/gtkrange.c 2002/01/24 14:18:16
@@ -922,8 +922,8 @@
&area, widget, "trough",
widget->allocation.x + range->range_rect.x,
widget->allocation.y + range->range_rect.y,
- range->range_rect.width,
- range->range_rect.height);
+ range->range_rect.width - 1,
+ range->range_rect.height - 1);
}
if (!sensitive)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]