Commit 7fde4a85 authored by Committed by Federico Mena Quintero
GtkFileChooserEntry: fix the computation of 'complete but not unique' and...
GtkFileChooserEntry: fix the computation of 'complete but not unique' and appending a '/' to unique directory names 2009-01-22 Federico Mena Quintero <firstname.lastname@example.org> Fix the computation of "complete but unique" in GtkFileChooserEntry. Fix the case where "/" was not appended to a unique directory name during explicit Tab completion. * gtk/gtkfilechooserentry.c (maybe_append_separator_to_file): Return whether anything was appended as well as the new string itself. (find_common_prefix): Oops, only turn on is_complete_not_unique_ret if we had a unique match! (append_common_prefix): If we appended a directory separator, we *did* expand the common prefix, so we are not in the "nothing inserted" case. Signed-off-by: Federico Mena Quintero <email@example.com> svn path=/trunk/; revision=22184
Showing with 41 additions and 17 deletions