aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-07 21:04:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-07 21:04:35 +0800
commitb3abb681b83f36c6893a4a181e84aad29e1ceac2 (patch)
tree1edda817d0a43622dfd24c55a44bfcbd1c50e365 /src/empathy-debug-window.c
parent280cd635f51af340e13b81dde87241b75484b8f1 (diff)
downloadgsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar.gz
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar.bz2
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar.lz
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar.xz
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.tar.zst
gsoc2013-empathy-b3abb681b83f36c6893a4a181e84aad29e1ceac2.zip
debug-window: set temp directory as default folder when saving logs
Diffstat (limited to 'src/empathy-debug-window.c')
-rw-r--r--src/empathy-debug-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 6c0c9c69e..f4f710c73 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1073,6 +1073,9 @@ debug_window_save_clicked_cb (GtkToolButton *tool_button,
gtk_file_chooser_set_do_overwrite_confirmation (
GTK_FILE_CHOOSER (file_chooser), TRUE);
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_chooser),
+ g_get_tmp_dir ());
+
g_signal_connect (file_chooser, "response",
G_CALLBACK (debug_window_save_file_chooser_response_cb),
debug_window);