diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-08 00:31:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-08 07:08:54 +0800 |
commit | 3da4948c0fc1f2c21b163f0ec456b2d99c881258 (patch) | |
tree | 479d6153d31e03cb7a65990683b5271402e5ec29 /shell | |
parent | 2e5031cb4538b4819e5fce5d717668c3445df80a (diff) | |
download | gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.gz gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.zst gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.zip |
Miscellaneous cleanups.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-convert-local-mail.c | 3 | ||||
-rw-r--r-- | shell/e-shell-content.c | 4 | ||||
-rw-r--r-- | shell/e-shell-switcher.c | 3 | ||||
-rw-r--r-- | shell/e-shell-utils.c | 9 | ||||
-rw-r--r-- | shell/e-shell-view.c | 3 |
5 files changed, 15 insertions, 7 deletions
diff --git a/shell/e-convert-local-mail.c b/shell/e-convert-local-mail.c index f7e9ac3eea..81c9e04771 100644 --- a/shell/e-convert-local-mail.c +++ b/shell/e-convert-local-mail.c @@ -108,7 +108,8 @@ copy_folders (CamelStore *mail_store, gchar *maildir_folder_name; /* sanitize folder names and copy folders */ - maildir_folder_name = sanitize_maildir_folder_name (fi->full_name); + maildir_folder_name = + sanitize_maildir_folder_name (fi->full_name); copy_folder ( mail_store, maildir_store, fi->full_name, maildir_folder_name); diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index a60a634942..53841e526b 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -305,7 +305,9 @@ shell_content_size_allocate (GtkWidget *widget, child_allocation.y += child_requisition.height; if (gtk_widget_get_visible (child)) - gtk_widget_get_preferred_height_for_width (child, child_allocation.width, &child_requisition.height, NULL); + gtk_widget_get_preferred_height_for_width ( + child, child_allocation.width, + &child_requisition.height, NULL); else child_requisition.height = 0; diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c index 84adfe6d11..1a7b283b95 100644 --- a/shell/e-shell-switcher.c +++ b/shell/e-shell-switcher.c @@ -168,7 +168,8 @@ shell_switcher_layout_actions (EShellSwitcher *switcher) child_allocation.width = max_width + extra_width; child_allocation.height = max_height; - gtk_widget_size_allocate (GTK_WIDGET (p->data), &child_allocation); + gtk_widget_size_allocate ( + GTK_WIDGET (p->data), &child_allocation); x += child_allocation.width + H_PADDING; } diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c index 655f785ba0..97982cfbf9 100644 --- a/shell/e-shell-utils.c +++ b/shell/e-shell-utils.c @@ -168,11 +168,14 @@ e_shell_run_save_dialog (EShell *shell, gtk_file_filter_add_pattern (filter, flt); if (g_ascii_strcasecmp (flt, "*.mbox") == 0) - gtk_file_filter_set_name (filter, _("Berkeley Mailbox (mbox)")); + gtk_file_filter_set_name ( + filter, _("Berkeley Mailbox (mbox)")); else if (g_ascii_strcasecmp (flt, "*.vcf") == 0) - gtk_file_filter_set_name (filter, _("vCard (.vcf)")); + gtk_file_filter_set_name ( + filter, _("vCard (.vcf)")); else if (g_ascii_strcasecmp (flt, "*.ics") == 0) - gtk_file_filter_set_name (filter, _("iCalendar (.ics)")); + gtk_file_filter_set_name ( + filter, _("iCalendar (.ics)")); while (delim) { delim++; diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index e5ba407d7b..b7813eacc6 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1869,7 +1869,8 @@ e_shell_view_update_actions_in_idle (EShellView *shell_view) return; if (shell_view->priv->update_actions_idle_id == 0) - shell_view->priv->update_actions_idle_id = g_idle_add (shell_view_call_update_actions_idle, shell_view); + shell_view->priv->update_actions_idle_id = g_idle_add ( + shell_view_call_update_actions_idle, shell_view); } /** |