diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:47:47 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:47:47 +0800 |
commit | 3b21f3119c844eb59c2c54183b77bf71bf61f224 (patch) | |
tree | 215ba0bfacc22f0832e6e4f267d376853e08a126 /widgets/text | |
parent | e1fc4b4362dfb3596b68c3e7510263058338ce84 (diff) | |
download | gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar.gz gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar.bz2 gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar.lz gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar.xz gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.tar.zst gsoc2013-evolution-3b21f3119c844eb59c2c54183b77bf71bf61f224.zip |
Make this take an extra argument saying whether or not to grab the
* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Make this
take an extra argument saying whether or not to grab the
widget-level focus.
* gal/e-text/e-text.c (e_text_event): Update arguments to
e_canvas_item_grab_focus.
svn path=/trunk/; revision=8745
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index e6e11750eb..121100d37f 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -2982,7 +2982,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event) && event->button.button == 1) { GdkEventButton button = event->button; - e_canvas_item_grab_focus (item); + e_canvas_item_grab_focus (item, TRUE); e_tep_event.type = GDK_BUTTON_RELEASE; e_tep_event.button.time = button.time; @@ -2999,7 +2999,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event) && text->editable && (event->button.button == 1 || event->button.button == 2)) { - e_canvas_item_grab_focus (item); + e_canvas_item_grab_focus (item, TRUE); } #endif |