dialog->rows++;
}
+ /* We are setting the selection mode here, after the list has been
+ * populated, so that when the first row gets selected by default,
+ * the triggered set_selected() function can correctly set sensitivity
+ * on up/down buttons. */
+ gtk_cmclist_set_selection_mode(GTK_CMCLIST(folderlist), GTK_SELECTION_BROWSE);
+
inc_lock();
}