From fcb29478f605deb787c62fc7567c5c7f897585bb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 18 Feb 2011 19:35:59 -0500 Subject: Coding style and whitespace cleanup. --- mail/e-mail-paned-view.c | 5 ++++- mail/e-mail-reader.c | 8 +++++--- mail/em-subscription-editor.c | 4 +++- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'mail') 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; -- cgit v1.2.3