diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:48:55 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:48:55 +0800 |
commit | 9d11cfd68b0539569556088d7b5ae6d4420859dc (patch) | |
tree | be48a6d999e8eb8e01f81f398e2b8fd9050a5aa9 /addressbook/gui/widgets | |
parent | d7f5b9e1a89ca693a6ab3ecc584b1084833286e0 (diff) | |
download | gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.gz gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.bz2 gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.lz gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.xz gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.zst gsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.zip |
Update arguments to e_canvas_item_grab_focus.
* gui/widgets/e-minicard-label.c (e_minicard_label_set_arg):
* gui/widgets/e-minicard.c (e_minicard_set_arg, e_minicard_event):
Update arguments to e_canvas_item_grab_focus.
svn path=/trunk/; revision=8747
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-label.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index 6795702454..01fad008df 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -145,7 +145,7 @@ e_minicard_label_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) break; case ARG_HAS_FOCUS: if (e_minicard_label->field && (GTK_VALUE_ENUM(*arg) != E_FOCUS_NONE)) - e_canvas_item_grab_focus(e_minicard_label->field); + e_canvas_item_grab_focus(e_minicard_label->field, FALSE); break; case ARG_FIELD: gnome_canvas_item_set( e_minicard_label->field, "text", GTK_VALUE_STRING (*arg), NULL ); diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index ec94d0fcb8..d6fa1a2068 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -237,7 +237,7 @@ e_minicard_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) } } else - e_canvas_item_grab_focus(item); + e_canvas_item_grab_focus(item, FALSE); break; case ARG_SELECTED: if (e_minicard->selected != GTK_VALUE_BOOL(*arg)) @@ -627,7 +627,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) case GDK_BUTTON_PRESS: if (event->button.button == 1) { int ret_val = e_minicard_selected(e_minicard, event); - e_canvas_item_grab_focus(item); + e_canvas_item_grab_focus(item, TRUE); return ret_val; } else if (event->button.button == 3) { MinicardAndParent *mnp = g_new(MinicardAndParent, 1); |