diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-09-06 15:20:57 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-09-06 15:41:06 +0200 |
commit | 24ced54ee43854104a62d81e4ec30480bd0f1f3c (patch) | |
tree | 9904c7ffcb6a39158c694b249404c6dcea88d050 | |
parent | 0abaab1c446e247a359f6759697a104db34ed5b7 (diff) | |
download | nautilus-24ced54ee43854104a62d81e4ec30480bd0f1f3c.tar.gz |
general: rerun uncrustify in compress-dialog-controller
Seems the case statements adjustment are buggy in uncrustify.
Added a new line at the start of the file, reran uncrustify and it
worked. Removing the new line doesn't affect the output anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=770564
-rw-r--r-- | src/nautilus-compress-dialog-controller.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/nautilus-compress-dialog-controller.c b/src/nautilus-compress-dialog-controller.c index b9cb8346f..6741e2630 100644 --- a/src/nautilus-compress-dialog-controller.c +++ b/src/nautilus-compress-dialog-controller.c @@ -110,26 +110,34 @@ update_selected_format (NautilusCompressDialogController *self, switch (format) { case NAUTILUS_COMPRESSION_ZIP: + { extension = ".zip"; description = ZIP_DESCRIPTION; active_button = self->zip_radio_button; - break; + } + break; case NAUTILUS_COMPRESSION_TAR_XZ: + { extension = ".tar.xz"; description = TAR_XZ_DESCRIPTION; active_button = self->tar_xz_radio_button; - break; + } + break; case NAUTILUS_COMPRESSION_7ZIP: + { extension = ".7z"; description = SEVEN_ZIP_DESCRIPTION; active_button = self->seven_zip_radio_button; - break; + } + break; default: + { g_assert_not_reached (); - break; + } + break; } self->extension = extension; |