diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-01 06:14:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-01 06:14:51 +0800 |
commit | 0559db3959b2968315f63fcbcbfc5c6d873d5e1e (patch) | |
tree | 892972286ba524402744b4936b3157ea3f508a08 /composer/e-msg-composer.c | |
parent | 7e6119378401be13db70e78cf249104e86a9101e (diff) | |
download | gsoc2013-evolution-0559db3959b2968315f63fcbcbfc5c6d873d5e1e.tar.gz gsoc2013-evolution-0559db3959b2968315f63fcbcbfc5c6d873d5e1e.tar.zst gsoc2013-evolution-0559db3959b2968315f63fcbcbfc5c6d873d5e1e.zip |
Convert to libglade-2's format.
2003-03-31 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.glade: Convert to libglade-2's format.
* e-msg-composer.c (set_editor_signature): E_MSG_COMPOSER_HDRS
(composer->hdrs)->account->id can never be NULL anymore.
svn path=/trunk/; revision=20604
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 7c660eb08a..5c649e9a6c 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2894,22 +2894,21 @@ create_composer (int visible_mask) static void set_editor_signature (EMsgComposer *composer) { + EAccountIdentity *id; + GSList *signatures; + /* printf ("set_editor_signature\n"); */ - if (E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id) { - EAccountIdentity *id; - GSList *signatures; - - id = E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id; - - signatures = mail_config_get_signature_list (); - - composer->signature = g_slist_nth_data (signatures, id->def_signature); - composer->auto_signature = id->auto_signature; - - /* printf ("auto: %d\n", id->auto_signature); */ - - sig_select_item (composer); - } + id = E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id; + + signatures = mail_config_get_signature_list (); + + composer->signature = g_slist_nth_data (signatures, id->def_signature); + composer->auto_signature = id->auto_signature; + + /* printf ("auto: %d\n", id->auto_signature); */ + + sig_select_item (composer); + /* printf ("set_editor_signature end\n"); */ } |