aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-minicard-label.c2
-rw-r--r--addressbook/gui/widgets/e-minicard.c4
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);