aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-label.c')
-rw-r--r--addressbook/gui/widgets/e-minicard-label.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c
index 93dfd68e55..e541fc7982 100644
--- a/addressbook/gui/widgets/e-minicard-label.c
+++ b/addressbook/gui/widgets/e-minicard-label.c
@@ -295,6 +295,7 @@ e_minicard_label_construct (GnomeCanvasItem *item)
"use_ellipsis", TRUE,
"fill_color", "black",
"draw_background", FALSE,
+ "im_context", E_CANVAS (item->canvas)->im_context,
NULL );
e_canvas_item_move_absolute(e_minicard_label->fieldname, 2, 1);
@@ -369,6 +370,10 @@ e_minicard_label_event (GnomeCanvasItem *item, GdkEvent *event)
NULL );
e_minicard_label->has_focus = FALSE;
}
+
+ g_object_set (e_minicard_label->field,
+ "handle_popup", e_minicard_label->has_focus,
+ NULL);
}
break;
case GDK_BUTTON_PRESS: