[tepl] File: add comment
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] File: add comment
- Date: Tue, 19 May 2020 12:58:37 +0000 (UTC)
commit 0d19ae3ffc115613dde4c8be6d3ed63906aa425b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue May 19 14:54:37 2020 +0200
File: add comment
tepl/tepl-file.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/tepl/tepl-file.c b/tepl/tepl-file.c
index 8589b3d..3f907f9 100644
--- a/tepl/tepl-file.c
+++ b/tepl/tepl-file.c
@@ -311,6 +311,11 @@ update_short_name (TeplFile *file)
return;
}
+ /* Note: fetching the display name can take a lot of time, for example
+ * for a remote location with a slow response time.
+ * Tested with Slowwly, a test service to mock a slow http response:
+ * http://slowwly.robertomurray.co.uk/
+ */
g_file_query_info_async (file->priv->location,
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME,
G_FILE_QUERY_INFO_NONE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]