GNOME Bugzilla – Bug 89972
typing ..<TAB> on file dialog doesn't go one level up (to parent directory)
Last modified: 2011-02-04 16:11:52 UTC
When usin the file dialog (tested in gimp and the background-properties thing) if you type ..<tab> (2 dots and TAB) it stays in the current directory instead of going up to the parent directory. You have to type ../TAB to get this result, but it worked with only ..TAB in 1.x.
Created attachment 10308 [details] [review] Proposed patch, if you type ..TAB it goes to parent directory
The proposed patch does not handle the situation correctly if you have a directory called "...". In this case it should bring up with the choices ".." and "...".
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (open_new_dir): Include "." and ".." in the list of entries; they are needed for correct handling of .<TAB>, ..<TAB>; were lost with the GDir conversion. (Francisco Bustamante, #89972) * gtk/gtkfilesel.c (open_new_dir): If we hit EOF unexpectedly, that's OK... a file was just deleted while we were reading the directory.