GNOME Bugzilla – Bug 63733
Filename should be remembered when switching directory
Last modified: 2004-12-22 21:47:04 UTC
Consider following situation: You are browsing some ftp archive with galleon and found file you wanna download. The 'Save File' dialog appears with suggested filename in input line, but unfortunatelly you are in wrong directory. So browse for a while in 'Directory' list, but what happens: as you click on dir (e.g. '..') once, it replaces suggestet filename for download. After clicking second time it changes dir, but inputline remains clear. Work-around: use cut-n-paste Possible fix: remember state of inputline before changing directory ? sth like directory_list_clicked () { if (! old_file_name) old_file_name = gtk_editable_get_chars (inputline, 0, -1); { ... } } change_directory () { { ... } pos = 0; if (old_file_name) gtk_editable_insert_text(inputline, old_file_name, strlen(old_file_name), &pos) old_file_name = NULL; } on_inline_changed() { {...} old_file_name = NULL; }
*** This bug has been marked as a duplicate of 6791 ***