aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-16 06:48:55 +0800
committerDan Winship <danw@src.gnome.org>2001-03-16 06:48:55 +0800
commit9d11cfd68b0539569556088d7b5ae6d4420859dc (patch)
treebe48a6d999e8eb8e01f81f398e2b8fd9050a5aa9 /addressbook/gui/widgets/e-minicard.c
parentd7f5b9e1a89ca693a6ab3ecc584b1084833286e0 (diff)
downloadgsoc2013-evolution-9d11cfd68b0539569556088d7b5ae6d4420859dc.tar.gz
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/e-minicard.c')
-rw-r--r--addressbook/gui/widgets/e-minicard.c4
1 files changed, 2 insertions, 2 deletions
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);