diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-02-19 08:35:59 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:36 +0800 |
commit | 3b6c8972a51d635309b789b1aef9034ca23dc737 (patch) | |
tree | 3e2843b8f664df4c022b6cf755828a1296fd5718 /mail | |
parent | 333ccc8abf033453996e4a7e16712f2fc3b9e05a (diff) | |
download | gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.gz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.bz2 gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.lz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.xz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.zst gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-paned-view.c | 5 | ||||
-rw-r--r-- | mail/e-mail-reader.c | 8 | ||||
-rw-r--r-- | mail/em-subscription-editor.c | 4 |
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; |