changeset 18434:2bf8792760fe

Fix #2034.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 05 Jul 2007 00:56:26 +0000
parents 3e4ee49396ad
children 1bb77e24cced ecb223f9f75b c6282dc3fb9f
files finch/libgnt/gntfilesel.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntfilesel.c	Wed Jul 04 18:58:40 2007 +0000
+++ b/finch/libgnt/gntfilesel.c	Thu Jul 05 00:56:26 2007 +0000
@@ -448,6 +448,9 @@
 	GntFileSel *sel = GNT_FILE_SEL(widget);
 	GntWidget *hbox, *vbox;
 
+	if (sel->current == NULL)
+		gnt_file_sel_set_current_location(sel, g_get_home_dir());
+
 	vbox = gnt_vbox_new(FALSE);
 	gnt_box_set_pad(GNT_BOX(vbox), 0);
 	gnt_box_set_alignment(GNT_BOX(vbox), GNT_ALIGN_MID);