aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index fe3cf42206..70e873f9e2 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -287,6 +287,17 @@ e_minicard_view_selection_event (EReflow *reflow, GnomeCanvasItem *item, GdkEven
}
switch (event->type) {
+ case GDK_FOCUS_CHANGE:
+ if (event->focus_change.in) {
+ int i;
+ for (i = 0; i < reflow->count; i++) {
+ if (reflow->items[i] == item) {
+ e_selection_model_maybe_do_something(reflow->selection, i, 0, 0);
+ break;
+ }
+ }
+ }
+ break;
case GDK_BUTTON_PRESS:
if (event->button.button == 3) {
return_val = e_addressbook_reflow_adapter_right_click (view->adapter, event, reflow->selection);