aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-02 07:41:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-02 07:41:14 +0800
commitd95c0f5a3c25b3d72637a39f7e906a2781fecee6 (patch)
treefe46842264ab7a1008d6f6d0d9ff72682b4db6c7 /composer/e-msg-composer.h
parented7fed7a01595482f246c532b1daa0d6e8e73332 (diff)
downloadgsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar.gz
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar.bz2
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar.lz
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar.xz
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.tar.zst
gsoc2013-evolution-d95c0f5a3c25b3d72637a39f7e906a2781fecee6.zip
Keep track of which entry widget has focus.
2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_entry_focus_in_event_cb): Keep track of which entry widget has focus. (composer_entry_focus_out_event_cb): Same. (control_entry_focus_in_event_cb): Same idea, but since this is in another component, tell that component that its widget has focus so it can merge bonoboui cut/copy/paste (and anything else) menus. (control_entry_focus_out_event_cb): Same. (setup_cut_copy_paste): Connect to the focus-in and focus-out events for all the entry widgets and the html editor. (menu_edit_cut_cb): New callback function since the composer will now own the Cut/Copy/Paste menu items sometimes (depending on which widget is in focus... confused yet? good). * e-msg-composer-hdrs.c (from_changed): Update the Reply-To entry to be a normal GtkEntry. (create_headers): Same. (e_msg_composer_hdrs_set_reply_to): Here too. (e_msg_composer_hdrs_get_reply_to): And finally here. svn path=/trunk/; revision=20623
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 07fd96f1f8..4f9a8c6652 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -59,6 +59,8 @@ struct _EMsgComposer {
GtkWidget *hdrs;
GPtrArray *extra_hdr_names, *extra_hdr_values;
+ GtkWidget *focused_entry;
+
GtkWidget *editor;
GtkWidget *attachment_bar;