Grab the focus when setting the cursor.
2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659
This commit is contained in:
committed by
Chris Lahey
parent
4f20138bfc
commit
798b2b01e6
@ -1,3 +1,7 @@
|
||||
2000-06-20 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* e-canvas.c: Grab the focus when setting the cursor.
|
||||
|
||||
2000-06-20 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* e-canvas.c, e-canvas.h: Built a system for doing selections
|
||||
|
||||
@ -506,6 +506,8 @@ e_canvas_item_set_cursor (GnomeCanvasItem *item, gpointer id)
|
||||
g_list_free(canvas->selection);
|
||||
|
||||
canvas->selection = NULL;
|
||||
|
||||
gnome_canvas_item_grab_focus(item);
|
||||
|
||||
info = g_new(ECanvasSelectionInfo, 1);
|
||||
info->item = item;
|
||||
@ -587,3 +589,13 @@ e_canvas_item_remove_selection (GnomeCanvasItem *item, gpointer id)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -506,6 +506,8 @@ e_canvas_item_set_cursor (GnomeCanvasItem *item, gpointer id)
|
||||
g_list_free(canvas->selection);
|
||||
|
||||
canvas->selection = NULL;
|
||||
|
||||
gnome_canvas_item_grab_focus(item);
|
||||
|
||||
info = g_new(ECanvasSelectionInfo, 1);
|
||||
info->item = item;
|
||||
@ -587,3 +589,13 @@ e_canvas_item_remove_selection (GnomeCanvasItem *item, gpointer id)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user