diff options
author | Chris Toshok <toshok@ximian.com> | 2003-04-04 07:32:32 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-04-04 07:32:32 +0800 |
commit | cd41924de38e850c8bd82ebae346e3c7ee771a7d (patch) | |
tree | 783556daf0968bccea45160ed7fef561953a0464 /addressbook | |
parent | 708189441c0ec0c6e68a8489e5480bb62a83024c (diff) | |
download | gsoc2013-evolution-cd41924de38e850c8bd82ebae346e3c7ee771a7d.tar.gz gsoc2013-evolution-cd41924de38e850c8bd82ebae346e3c7ee771a7d.tar.zst gsoc2013-evolution-cd41924de38e850c8bd82ebae346e3c7ee771a7d.zip |
set "handle_popup" on the field to be TRUE if it's got focus, FALSE if
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.
svn path=/trunk/; revision=20665
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 12 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-label.c | 5 |
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: |