aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog12
-rw-r--r--addressbook/gui/widgets/e-minicard-label.c5
2 files changed, 17 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 65d504ecc1..45b83071bc 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,17 @@
2003-04-03 Chris Toshok <toshok@ximian.com>
+ * gui/widgets/e-minicard-label.c (e_minicard_label_event): set
+ "handle_popup" on the field to be TRUE if it's got focus, FALSE if
+ not.
+
+2003-04-03 Chris Toshok <toshok@ximian.com>
+
+ * gui/widgets/e-minicard-label.c (e_minicard_label_construct):
+ doh, set the im_context on the field name too so we get the Input
+ Method submenu in the contxt menu.
+
+2003-04-03 Chris Toshok <toshok@ximian.com>
+
* gui/widgets/e-minicard-label.c (e_minicard_label_construct): set
the im_context on the field's EText.
(e_minicard_label_event): remove a huge swath of #if 0'd code.
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: