From c9150be94f0e3be05785e12d581fee16c23f3b0d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 11 Sep 2003 20:46:28 +0000 Subject: Added an entry_uic field for a BonoboUIComponent for the non-control 2003-09-11 Federico Mena Quintero * e-msg-composer.h (EMsgComposer): Added an entry_uic field for a BonoboUIComponent for the non-control entries (e.g. the Subject line). * e-msg-composer.c (create_composer): Set autoactivate to true on the HTML control's BonoboControlFrame. (setup_ui): Create the composer->entry_uic. (destroy): Free the composer->entry_uic. (entry_verbs): New array of verbs for the non-control entries. Moved the Edit* verbs to here, as they should not be part of the main set. (composer_entry_focus_in_event_cb): Load evolution-composer-entries.xml here for the non-control entries' UI. (composer_entry_focus_out_event_cb): Remove the menu items. svn path=/trunk/; revision=22531 --- composer/e-msg-composer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'composer/e-msg-composer.h') diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 5c1e12bbbb..e28d8981d5 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -54,7 +54,11 @@ extern "C" { struct _EMsgComposer { BonoboWindow parent; + /* Main UIComponent */ BonoboUIComponent *uic; + + /* UIComponent for the non-control GtkEntries */ + BonoboUIComponent *entry_uic; GtkWidget *hdrs; GPtrArray *extra_hdr_names, *extra_hdr_values; -- cgit