summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c
index af69929..02365f9 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -843,6 +843,8 @@ mq_web_view_open(MqWebView *web_view)
if (dir && dir[0]) {
gtk_file_chooser_set_current_folder(chooser, dir);
}
+ /* TODO: Consider setting chooser's folder from current file-scheme URI,
+ * if any. */
g_free(dir);
g_signal_connect(dialog, "response",
G_CALLBACK(open_response_cb), web_view);