[libpanel] save-delegate: reset progress on save request
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpanel] save-delegate: reset progress on save request
- Date: Tue, 13 Sep 2022 22:22:59 +0000 (UTC)
commit d11bc8a1c9c557042eeae330cb1bd5479901d03d
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 13 15:20:50 2022 -0700
save-delegate: reset progress on save request
src/panel-save-delegate.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/panel-save-delegate.c b/src/panel-save-delegate.c
index 1a16ec2..51d32a9 100644
--- a/src/panel-save-delegate.c
+++ b/src/panel-save-delegate.c
@@ -541,6 +541,8 @@ panel_save_delegate_save_async (PanelSaveDelegate *self,
g_return_if_fail (PANEL_IS_SAVE_DELEGATE (self));
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
+ panel_save_delegate_set_progress (self, .0);
+
PANEL_SAVE_DELEGATE_GET_CLASS (self)->save_async (self, cancellable, callback, user_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]