Re: [evolution-patches] patch fix a gal problem
- From: Li Yuan <Li Yuan Sun COM>
- To: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] patch fix a gal problem
- Date: Tue, 26 Oct 2004 10:23:09 +0800
sorry, i forgot the Changelog, here is the new patch.
Li Yuan wrote:
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: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.900
diff -u -r1.900 ChangeLog
--- ChangeLog 10 Oct 2004 21:12:05 -0000 1.900
+++ ChangeLog 26 Oct 2004 02:16:14 -0000
@@ -1,3 +1,9 @@
+2004-10-26 Li Yuan <li yuan sun com>
+
+ * gal/e-table/e-table.c: (table_canvas_focus_event_cb):
+ if canvas has a focused item but the etable does not have a cursor row,
+ just focus the first item.
+
2004-10-10 Malcolm Tredinnick <malcolm commsecure com au>
* configure.in: Remove redundant call to AC_PROG_INTLTOOL and
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 02:16:44 -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]