diff options
author | Chris Toshok <toshok@ximian.com> | 2003-04-08 12:56:10 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-04-08 12:56:10 +0800 |
commit | 3b414f434678cff38a7b323b68a5fd4440b5bd99 (patch) | |
tree | 94a7a7c5dfd5c88ec07078bb227cb52e0e235760 /composer/e-msg-composer.c | |
parent | d99bee317238171903464026374c53d978545924 (diff) | |
download | gsoc2013-evolution-3b414f434678cff38a7b323b68a5fd4440b5bd99.tar.gz gsoc2013-evolution-3b414f434678cff38a7b323b68a5fd4440b5bd99.tar.zst gsoc2013-evolution-3b414f434678cff38a7b323b68a5fd4440b5bd99.zip |
[ fixes bug #39763 ] remove the control_entry_focus_{in,out}_event_cb
2003-04-07 Chris Toshok <toshok@ximian.com>
[ fixes bug #39763 ]
* e-msg-composer.c (setup_cut_copy_paste): remove the
control_entry_focus_{in,out}_event_cb signal stuff.
(control_entry_focus_in_event_cb): nuke
(control_entry_focus_in_event_cb): same.
* e-msg-composer-hdrs.c (create_addressbook_entry): pass the
contain to bonobo_widget_new_control_from_objref when creating the
entries.
svn path=/trunk/; revision=20745
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index aab14e230a..9db2ab7d10 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2841,30 +2841,6 @@ composer_entry_focus_out_event_cb (GtkWidget *widget, GdkEventFocus *event, gpoi return FALSE; } -static gboolean -control_entry_focus_in_event_cb (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) -{ - EMsgComposer *composer = user_data; - - g_assert (composer->focused_entry == NULL); - - bonobo_control_frame_control_activate (bonobo_widget_get_control_frame (BONOBO_WIDGET (widget))); - - return FALSE; -} - -static gboolean -control_entry_focus_out_event_cb (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) -{ - EMsgComposer *composer = user_data; - - g_assert (composer->focused_entry == NULL); - - bonobo_control_frame_control_deactivate (bonobo_widget_get_control_frame (BONOBO_WIDGET (widget))); - - return FALSE; -} - static void setup_cut_copy_paste (EMsgComposer *composer) { @@ -2880,20 +2856,6 @@ setup_cut_copy_paste (EMsgComposer *composer) entry = e_msg_composer_hdrs_get_reply_to_entry (hdrs); g_signal_connect (entry, "focus-in-event", G_CALLBACK (composer_entry_focus_in_event_cb), composer); g_signal_connect (entry, "focus-out-event", G_CALLBACK (composer_entry_focus_out_event_cb), composer); - - entry = e_msg_composer_hdrs_get_to_entry (hdrs); - g_signal_connect (entry, "focus-in-event", G_CALLBACK (control_entry_focus_in_event_cb), composer); - g_signal_connect (entry, "focus-out-event", G_CALLBACK (control_entry_focus_out_event_cb), composer); - - entry = e_msg_composer_hdrs_get_cc_entry (hdrs); - g_signal_connect (entry, "focus-in-event", G_CALLBACK (control_entry_focus_in_event_cb), composer); - g_signal_connect (entry, "focus-out-event", G_CALLBACK (control_entry_focus_out_event_cb), composer); - - entry = e_msg_composer_hdrs_get_bcc_entry (hdrs); - g_signal_connect (entry, "focus-in-event", G_CALLBACK (control_entry_focus_in_event_cb), composer); - g_signal_connect (entry, "focus-out-event", G_CALLBACK (control_entry_focus_out_event_cb), composer); - - /* FIXME: do the same for the gtkhtml editor */ } static EMsgComposer * |