evolution r34859 - trunk/widgets/table
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34859 - trunk/widgets/table
- Date: Sun, 20 Jan 2008 15:16:36 +0000 (GMT)
Author: sragavan
Date: Sun Jan 20 15:16:36 2008
New Revision: 34859
URL: http://svn.gnome.org/viewvc/evolution?rev=34859&view=rev
Log:
2008-01-20 Srinivasa Ragavan <sragavan novell com>
* e-table-item.c: (eti_draw): Draw the cursor only for multiselection.
Modified:
trunk/widgets/table/ChangeLog
trunk/widgets/table/e-table-item.c
Modified: trunk/widgets/table/e-table-item.c
==============================================================================
--- trunk/widgets/table/e-table-item.c (original)
+++ trunk/widgets/table/e-table-item.c Sun Jan 20 15:16:36 2008
@@ -2044,13 +2044,13 @@
e_cell_draw (ecell_view, drawable, ecol->col_idx, col, row, flags,
xd, yd, xd + ecol->width, yd + height);
- if (!f_found) {
+ if (!f_found && !selected) {
switch (eti->cursor_mode) {
case E_CURSOR_LINE:
if (view_to_model_row(eti, row) == cursor_row) {
f_x1 = floor (eti_base.x) - x;
f_x2 = floor (lower_right.x) - x;
- f_y1 = yd;
+ f_y1 = yd+1;
f_y2 = yd + height;
f_found = TRUE;
}
@@ -2105,7 +2105,7 @@
if (eti->draw_focus && f_found) {
gdk_gc_set_ts_origin (eti->focus_gc, f_x1, f_y1);
gdk_draw_rectangle (drawable, eti->focus_gc, FALSE,
- f_x1, f_y1, f_x2 - f_x1 - 1, f_y2 - f_y1 - 1);
+ f_x1, f_y1, f_x2 - f_x1 - 1, f_y2 - f_y1);
}
cairo_destroy (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]