[evolution-patches] patch fix a gal problem



hi, gal maintainers

When we launch Evolution and go to a task folder, after excute one research operation and clear, however use the "tab" key, we can not focus the area of tasks.

attach is a patch to fix this problem, please review it.

thanks,
Li
Index: gal/e-table/e-table.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-table.c,v
retrieving revision 1.230
diff -u -r1.230 e-table.c
--- gal/e-table/e-table.c	19 Oct 2004 16:12:32 -0000	1.230
+++ gal/e-table/e-table.c	26 Oct 2004 01:38:06 -0000
@@ -1124,6 +1124,10 @@
 		gnome_canvas_item_grab_focus (etable->click_to_add);
 	} else if (!canvas->focused_item && etable->group) {
         	focus_first_etable_item (etable->group);
+	} else if (canvas->focused_item) {
+		ESelectionModel *selection = (ESelectionModel *)etable->selection;
+		if (e_selection_model_cursor_row (selection) == -1)
+			focus_first_etable_item (etable->group);
 	}
 
 	return TRUE;


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