[baobab/reroot-view: 14/14] Tweak the scanning page transition
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/reroot-view: 14/14] Tweak the scanning page transition
- Date: Tue, 23 Jun 2020 14:41:45 +0000 (UTC)
commit 5ec995b7267f0c5700df63e8ce6a23b8ecfa0f3d
Author: Stefano Facchini <stefano facchini gmail com>
Date: Mon Jun 22 19:42:22 2020 +0200
Tweak the scanning page transition
src/baobab-window.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index c855ddf..05ef296 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -628,6 +628,7 @@ namespace Baobab {
} catch (Error e) {
var primary = _("Could not scan folder ā%sā").printf (scanner.directory.get_parse_name ());
message (primary, e.message, Gtk.MessageType.ERROR);
+ set_ui_state (home_page, false);
return;
}
@@ -668,7 +669,7 @@ namespace Baobab {
clear_message ();
- scanning_page_timeout_id = Timeout.add (200, () => {
+ scanning_page_timeout_id = Timeout.add (500, () => {
scanning_page_timeout_id = 0;
set_ui_state (scanning_page, true);
return Source.REMOVE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]