[file-roller: 34/123] close the progress dialo after opening a file
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 34/123] close the progress dialo after opening a file
- Date: Mon, 6 Aug 2012 13:43:43 +0000 (UTC)
commit 1cd45be2b3a55193145a44fd669d1dfb939b602d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Jul 20 23:01:35 2012 +0200
close the progress dialo after opening a file
src/fr-window.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index fee0c24..fd971b6 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -8663,12 +8663,13 @@ open_files_extract_ready_cb (GObject *source_object,
OpenFilesData *odata = user_data;
GError *error = NULL;
- if (! fr_archive_operation_finish (FR_ARCHIVE (source_object), result, &error)) {
- _archive_operation_completed (odata->window, FR_ACTION_EXTRACTING_FILES, error);
- g_error_free (error);
- }
+ fr_archive_operation_finish (FR_ARCHIVE (source_object), result, &error);
+ _archive_operation_completed (odata->window, FR_ACTION_EXTRACTING_FILES, error);
- fr_window_open_extracted_files (odata);
+ if (error == NULL)
+ fr_window_open_extracted_files (odata);
+
+ _g_error_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]