aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-12 20:50:08 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-12 20:50:08 +0800
commitcb3e4ee7e0d7d20c95b0067abbff640c005bccc8 (patch)
treee0921eb12b428fd652a11221826bc6db13bd5bcc /libempathy-gtk/empathy-ui-utils.c
parentc57f6e063efe334033061088263d246868477c88 (diff)
downloadgsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar.gz
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar.bz2
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar.lz
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar.xz
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.tar.zst
gsoc2013-empathy-cb3e4ee7e0d7d20c95b0067abbff640c005bccc8.zip
set $HOME as default directory when sending a file
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 4b0f4a404..b33760629 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1631,6 +1631,9 @@ empathy_send_file_with_file_chooser (EmpathyContact *contact)
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (widget), FALSE);
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget),
+ g_get_home_dir ());
+
g_signal_connect (widget, "response",
G_CALLBACK (file_manager_send_file_response_cb),
contact);