aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-08-25 21:00:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-09-01 20:06:32 +0800
commitd89e767a1cde7b3349182e713085241e58a30fe8 (patch)
tree2c054ebfdc252d71a774b6be11fdaa2a5ee64494 /composer
parentcaff4060d5542aec79b8e27d0a35f8097c5fdfc0 (diff)
downloadgsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.gz
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.bz2
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.lz
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.xz
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.zst
gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-private.c6
-rw-r--r--composer/e-msg-composer.c15
2 files changed, 12 insertions, 9 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index f6fd7d9ac5..f878fa8aaa 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -278,14 +278,16 @@ e_composer_private_constructed (EMsgComposer *composer)
priv->header_table = g_object_ref (widget);
gtk_widget_show (widget);
- header = e_composer_header_table_get_header (E_COMPOSER_HEADER_TABLE (widget),
+ header = e_composer_header_table_get_header (
+ E_COMPOSER_HEADER_TABLE (widget),
E_COMPOSER_HEADER_SUBJECT);
g_object_bind_property (
shell_settings, "composer-inline-spelling",
header->input_widget, "checking-enabled",
G_BINDING_SYNC_CREATE);
- g_signal_connect (G_OBJECT (composer), "spell-languages-changed",
+ g_signal_connect (
+ G_OBJECT (composer), "spell-languages-changed",
G_CALLBACK (composer_spell_languages_changed), NULL);
/* Construct the attachment paned. */
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e6c6442c50..0fc5f2f475 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -854,8 +854,8 @@ composer_build_message_smime (AsyncContext *context,
g_set_error (
error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
_("Cannot sign outgoing message: "
- "No signing certificate set for "
- "this account"));
+ "No signing certificate set for "
+ "this account"));
return FALSE;
}
@@ -863,8 +863,8 @@ composer_build_message_smime (AsyncContext *context,
g_set_error (
error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
_("Cannot encrypt outgoing message: "
- "No encryption certificate set for "
- "this account"));
+ "No encryption certificate set for "
+ "this account"));
return FALSE;
}
@@ -4026,8 +4026,9 @@ handle_mailto (EMsgComposer *composer,
subject = content;
content = NULL;
} else {
- subject = g_locale_to_utf8 (content, clen, &nread,
- &nwritten, NULL);
+ subject = g_locale_to_utf8 (
+ content, clen, &nread,
+ &nwritten, NULL);
if (subject) {
subject = g_realloc (subject, nwritten + 1);
subject[nwritten] = '\0';
@@ -4196,7 +4197,7 @@ e_msg_composer_set_body (EMsgComposer *composer,
buff = g_markup_printf_escaped (
"<b>%s</b>",
_("The composer contains a non-text "
- "message body, which cannot be edited."));
+ "message body, which cannot be edited."));
set_editor_text (composer, buff, FALSE);
g_free (buff);