[gnome-terminal] window: Save contents to the Documents folder by default
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] window: Save contents to the Documents folder by default
- Date: Fri, 16 Feb 2018 21:34:57 +0000 (UTC)
commit 1f22bfa061a57c1328525ab4ad73e192d797c564
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Feb 16 22:31:31 2018 +0100
window: Save contents to the Documents folder by default
https://bugzilla.gnome.org/show_bug.cgi?id=793519
src/terminal-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index a8ff746..30fd6ad 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -485,8 +485,7 @@ action_save_contents_cb (GSimpleAction *action,
NULL);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
- /* XXX where should we save to? */
- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_user_special_dir
(G_USER_DIRECTORY_DESKTOP));
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_user_special_dir
(G_USER_DIRECTORY_DOCUMENTS));
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]