public FileChooserDialog(string title, Window parent, FileChooserAction action) : base(title, parent, action) { LocalOnly = Banshee.IO.Provider.LocalOnly; SetCurrentFolderUri(LastFileChooserUri.Get(Environment.GetFolderPath(Environment.SpecialFolder.Personal))); WindowPosition = WindowPosition.Center; }
protected override void OnResponse(ResponseType response) { base.OnResponse(response); if (CurrentFolderUri != null) { LastFileChooserUri.Set(CurrentFolderUri); } }