diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-10 06:19:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-10 06:19:41 +0800 |
commit | eb23edd391e59e62a149446d0b0e8b1c345f1227 (patch) | |
tree | 044dc1d1cd765ae4925ecf6693518be3fbfe0968 /composer/e-msg-composer.c | |
parent | ce31e66ee69196c0bd641c72097426ba99f2d7d0 (diff) | |
download | gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar.gz gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar.bz2 gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar.lz gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar.xz gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.tar.zst gsoc2013-evolution-eb23edd391e59e62a149446d0b0e8b1c345f1227.zip |
Modified to allow dropdown entry-boxes as well (for headers like From:)
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-hdrs.c (add_header): Modified to allow dropdown
entry-boxes as well (for headers like From:)
(setup_headers): Modified to use the correct enum type.
(create_dropdown_entry): New convenience function to add a
drop-down combo box and fill it in with identities
(init): Set from_entry to NULL
(e_msg_composer_hdrs_get_from): New convenience function to get
the text in the From widget in the composer
(e_msg_composer_hdrs_set_from): New convenience function to set
the From header in the composer
svn path=/trunk/; revision=4673
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 2793535b51..bcb6aea723 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1181,26 +1181,26 @@ e_msg_composer_construct (EMsgComposer *composer) { GtkWidget *vbox; BonoboObject *editor_server; - + g_return_if_fail (gtk_main_level () > 0); - + gtk_window_set_default_size (GTK_WINDOW (composer), DEFAULT_WIDTH, DEFAULT_HEIGHT); - + gnome_app_construct (GNOME_APP (composer), "e-msg-composer", _("Compose a message")); - + composer->uih = bonobo_ui_handler_new (); bonobo_ui_handler_set_app (composer->uih, GNOME_APP (composer)); - + vbox = gtk_vbox_new (FALSE, 0); - + composer->hdrs = e_msg_composer_hdrs_new (); gtk_box_pack_start (GTK_BOX (vbox), composer->hdrs, FALSE, TRUE, 0); gtk_widget_show (composer->hdrs); - + /* Editor component. */ - + create_menubar (composer); create_toolbar (composer); composer->editor = create_editor (composer); @@ -1211,7 +1211,7 @@ e_msg_composer_construct (EMsgComposer *composer) = bonobo_object_query_interface (editor_server, "IDL:Bonobo/PersistFile:1.0"); composer->persist_stream_interface = bonobo_object_query_interface (editor_server, "IDL:Bonobo/PersistStream:1.0"); - + gtk_widget_show (composer->editor); gtk_box_pack_start (GTK_BOX (vbox), composer->editor, TRUE, TRUE, 0); gtk_widget_show (composer->editor); |