[file-roller: 48/123] close the progress dialog after adding or removing files to the archive
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 48/123] close the progress dialog after adding or removing files to the archive
- Date: Mon, 6 Aug 2012 13:44:54 +0000 (UTC)
commit 9daf722f01ee58240895506d901dcf8ce8267933
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 21 11:43:31 2012 +0200
close the progress dialog after adding or removing files to the archive
src/fr-window.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 4a067d6..14f9ede 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -3110,8 +3110,10 @@ _archive_operation_completed (FrWindow *window,
case FR_ACTION_DELETING_FILES:
close_progress_dialog (window, FALSE);
- if (! operation_canceled)
+ if (! window->priv->batch_mode && ! operation_canceled) {
fr_window_archive_reload (window);
+ return;
+ }
return;
case FR_ACTION_ADDING_FILES:
@@ -3127,6 +3129,8 @@ _archive_operation_completed (FrWindow *window,
window->priv->archive_new = FALSE;
fr_window_add_to_recent_list (window, window->priv->archive_uri);
}
+
+ close_progress_dialog (window, FALSE);
if (! window->priv->batch_mode && ! operation_canceled) {
fr_window_archive_reload (window);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]