aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-19 08:35:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-02-19 09:44:24 +0800
commitfcb29478f605deb787c62fc7567c5c7f897585bb (patch)
treeec765625b528f38d34c0b1795abb588227b1d95b /mail
parent1b25ab52f7709a0eae7493fb933fa62376ead288 (diff)
downloadgsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.gz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.bz2
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.lz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.xz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.zst
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-paned-view.c5
-rw-r--r--mail/e-mail-reader.c8
-rw-r--r--mail/em-subscription-editor.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index 7a62c8bfc3..b8fd00312d 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -780,7 +780,10 @@ mail_paned_view_update_view_instance (EMailView *view)
orientable = GTK_ORIENTABLE (view);
orientation = gtk_orientable_get_orientation (orientable);
- show_vertical_view = (orientation == GTK_ORIENTATION_HORIZONTAL) && !e_shell_settings_get_boolean (shell_settings, "mail-global-view-setting");
+ show_vertical_view =
+ (orientation == GTK_ORIENTATION_HORIZONTAL) &&
+ !e_shell_settings_get_boolean (
+ shell_settings, "mail-global-view-setting");
if (show_vertical_view) {
gchar *filename;
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index a56b514227..3f5a056ee6 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2941,10 +2941,12 @@ static void
mail_reader_update_actions (EMailReader *reader,
guint32 state)
{
+#if 0
EShell *shell;
EMailBackend *backend;
EShellBackend *shell_backend;
EShellSettings *shell_settings;
+#endif
GtkAction *action;
const gchar *action_name;
gboolean sensitive;
@@ -2971,15 +2973,15 @@ mail_reader_update_actions (EMailReader *reader,
gboolean first_message_selected = FALSE;
gboolean last_message_selected = FALSE;
+#if 0 /* XXX Lockdown keys have moved to gsettings-desktop-schemas,
+ * so disable lockdown integration until we're ready for
+ * GSettings. */
backend = e_mail_reader_get_backend (reader);
shell_backend = E_SHELL_BACKEND (backend);
shell = e_shell_backend_get_shell (shell_backend);
shell_settings = e_shell_get_shell_settings (shell);
-#if 0 /* XXX Lockdown keys have moved to gsettings-desktop-schemas,
- * so disable lockdown integration until we're ready for
- * GSettings. */
#ifndef G_OS_WIN32
disable_printing = e_shell_settings_get_boolean (
shell_settings, "disable-printing");
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index baaf3eac53..3a94e66a23 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -842,7 +842,9 @@ subscription_editor_add_account (EMSubscriptionEditor *editor,
gtk_scrolled_window_set_shadow_type (
GTK_SCROLLED_WINDOW (widget), GTK_SHADOW_IN);
gtk_notebook_append_page (GTK_NOTEBOOK (container), widget, NULL);
- gtk_container_child_set (GTK_CONTAINER (container), widget, "tab-fill", FALSE, "tab-expand", FALSE, NULL);
+ gtk_container_child_set (
+ GTK_CONTAINER (container), widget,
+ "tab-fill", FALSE, "tab-expand", FALSE, NULL);
gtk_widget_show (widget);
container = widget;