[file-roller: 15/123] emit a LOADING_ARCHIVE action before loading a remote archive
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 15/123] emit a LOADING_ARCHIVE action before loading a remote archive
- Date: Mon, 6 Aug 2012 13:42:07 +0000 (UTC)
commit a848bc3a8b591b718ee5f25d447483b708fcac58
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Jul 18 10:21:56 2012 +0200
emit a LOADING_ARCHIVE action before loading a remote archive
src/fr-command.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command.c b/src/fr-command.c
index 789d86e..3227e3f 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -838,7 +838,8 @@ copy_remote_file (LoadData *load_data)
return;
}
- if (self->priv->is_remote)
+ if (self->priv->is_remote) {
+ fr_archive_action_started (load_data->archive, FR_ACTION_LOADING_ARCHIVE);
g_copy_file_async (fr_archive_get_file (FR_ARCHIVE (self)),
self->priv->local_copy,
G_FILE_COPY_OVERWRITE,
@@ -848,6 +849,7 @@ copy_remote_file (LoadData *load_data)
load_data,
copy_remote_file_done,
load_data);
+ }
else
g_idle_add (copy_remote_file_done_cb, load_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]