[tepl] App: remove todo comment
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] App: remove todo comment
- Date: Mon, 25 May 2020 13:16:08 +0000 (UTC)
commit 6c9b5818638b94ced7de90486e2353910ef6052e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon May 25 15:12:28 2020 +0200
App: remove todo comment
A tab state or locking would still be useful. It will anyway be added
later to handle correctly the UI with the GtkSpinner etc.
tepl/tepl-application.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/tepl/tepl-application.c b/tepl/tepl-application.c
index a641c1a..9fba876 100644
--- a/tepl/tepl-application.c
+++ b/tepl/tepl-application.c
@@ -542,14 +542,8 @@ open_cb (GApplication *g_app,
tepl_window = tepl_application_window_get_from_gtk_application_window (main_window);
- /* TODO: improve this, currently all the files are open at the same time
- * in parallel, it would be better to open them sequentially. Maybe by
- * writing a MultiFileLoader class:
- * 1. Create all the tabs, jump only to the first one.
- * 2. Set locations.
- * 3. Set editable=FALSE on all those views (+ set tab state/locking?).
- * 4. Load the files one by one. Needs an async/finish API to load one
- * file.
+ /* It's OK to open all the files in parallel, there is anyway the GIO
+ * thread pool.
*/
for (file_num = 0; file_num < n_files; file_num++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]