# HG changeset patch # User Sadrul Habib Chowdhury # Date 1183596986 0 # Node ID 2bf8792760fe7235fee11cc6718a47a746bd5db5 # Parent 3e4ee49396adbde3f4d172f31967e94616578356 Fix #2034. diff -r 3e4ee49396ad -r 2bf8792760fe finch/libgnt/gntfilesel.c --- 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);