[gnome-text-editor] savechangesdialog: suggest file suffixes with new files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] savechangesdialog: suggest file suffixes with new files
- Date: Tue, 17 May 2022 19:15:12 +0000 (UTC)
commit 13358dfcccabacc047696e2de7225ef6f6d37895
Author: Christian Hergert <chergert redhat com>
Date: Tue May 17 12:14:21 2022 -0700
savechangesdialog: suggest file suffixes with new files
Related #375
src/editor-save-changes-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-save-changes-dialog.c b/src/editor-save-changes-dialog.c
index adb5ee1..644bfc8 100644
--- a/src/editor-save-changes-dialog.c
+++ b/src/editor-save-changes-dialog.c
@@ -342,7 +342,7 @@ _editor_save_changes_dialog_new (GtkWindow *parent,
if (file != NULL)
sr.file = g_file_dup (file);
else
- sr.file = g_file_get_child (directory, title_str);
+ sr.file = _editor_document_suggest_file (document, directory);
g_array_append_val (requests, sr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]