diff options
author | Miguel de Icaza <miguel@ximian.com> | 2001-03-08 10:06:26 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2001-03-08 10:06:26 +0800 |
commit | 6145f688cc4154f580c4443f999fd14a027a14d8 (patch) | |
tree | b9be6d5401b7c17610310581f561ba3cfffcbf63 /composer/e-msg-composer.h | |
parent | 3f72523dfa9fcbea86538b37130b863fc805e7ec (diff) | |
download | gsoc2013-evolution-6145f688cc4154f580c4443f999fd14a027a14d8.tar.gz gsoc2013-evolution-6145f688cc4154f580c4443f999fd14a027a14d8.tar.zst gsoc2013-evolution-6145f688cc4154f580c4443f999fd14a027a14d8.zip |
New function. Used to store integer values into the configuration engine.
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* e-msg-composer.c (set_config): New function. Used to store
integer values into the configuration engine. Handles the case of
Bonobo-conf being installed, or falls back to gnome_config.
* e-msg-composer-hdrs.c (add_header): Renamed to be
header_new_recipient(). Now we take care of the other cases in
create_headers, which is a lot nicer now.
(create_optionmenu): Removed extra "name" argument which was not
being used anyways (the only arg passed was From:).
(init): Removed all the redundant NULL initialization by using
nice g_new0
(create_headers): New function, much cleaner.
Use of Pair structure everywhere instead of individual widgets to
keep track of which ones are visible and which ones are not.
* e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC
commands.
(menu_view_bcc_cb, menu_view_from_cb): New functions that
implement the features described.
(menu_format_html_cb): Removed unrequired test, as
e_msg_composer_set_send_html already optimizes the case of the
state being the same.
(menu_security_pgp_encrypt_cb): Remove redundant code.
(menu_security_pgp_sign_cb): ditto.
2001-03-06 Miguel de Icaza <miguel@ximian.com>
* evolution-message-composer.xml: Reorder menus to be File, Edit,
View, Insert, Format (instead of File, Edit, Format, View, Insert).
Add View/From Field and View/From BCC
Add Insert/File.
Add File/Send menu item.
Change the look to follow the "mailer" look (thiner display).
svn path=/trunk/; revision=8590
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 485ca6f9f1..e03a89bfa6 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -1,7 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* e-msg-composer.h * - * Copyright (C) 1999 Helix Code, Inc. + * Copyright (C) 1999, 2000 Ximian, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -70,14 +70,19 @@ struct _EMsgComposer { GNOME_GtkHTML_Editor_Engine editor_engine; BonoboObject *editor_listener; GHashTable *inline_images; + + Bonobo_PropertyBag property_bag; char *sig_file; gboolean attachment_bar_visible : 1; - gboolean send_html : 1; - gboolean pgp_sign : 1; + gboolean send_html : 1; + gboolean pgp_sign : 1; gboolean pgp_encrypt : 1; - + gboolean view_from : 1; + gboolean view_bcc : 1; + gboolean view_cc : 1; + gboolean view_subject: 1; gboolean has_changed : 1; }; @@ -116,9 +121,18 @@ CamelMimeMessage *e_msg_composer_get_message (EMsgComposer *compose void e_msg_composer_set_sig_file (EMsgComposer *composer, const char *sig_file); const char *e_msg_composer_get_sig_file (EMsgComposer *composer); +gboolean e_msg_composer_get_send_html (EMsgComposer *composer); void e_msg_composer_set_send_html (EMsgComposer *composer, gboolean send_html); -gboolean e_msg_composer_get_send_html (EMsgComposer *composer); +gboolean e_msg_composer_get_view_from (EMsgComposer *composer); +void e_msg_composer_set_view_from (EMsgComposer *composer, + gboolean view_from); +gboolean e_msg_composer_get_view_bcc (EMsgComposer *composer); +void e_msg_composer_set_view_bcc (EMsgComposer *composer, + gboolean view_bcc); +gboolean e_msg_composer_get_view_cc (EMsgComposer *composer); +void e_msg_composer_set_view_cc (EMsgComposer *composer, + gboolean view_cc); void e_msg_composer_set_pgp_sign (EMsgComposer *composer, gboolean pgp_sign); |