use file_utils_uri_display_basename() instead of g_path_get_basename() to
2006-07-18 Michael Natterer <mitch@gimp.org> * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): use file_utils_uri_display_basename() instead of g_path_get_basename() to get an uri's basename. Fixes bug #347544.
This commit is contained in:
parent
bb77afc127
commit
8ae28a136c
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-07-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): use
|
||||
file_utils_uri_display_basename() instead of g_path_get_basename()
|
||||
to get an uri's basename. Fixes bug #347544.
|
||||
|
||||
2006-07-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimppaletteeditor.c (gimp_palette_editor_get_index,
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ gimp_file_dialog_set_image (GimpFileDialog *dialog,
|
|||
gimp_file_dialog_set_file_proc (dialog, NULL);
|
||||
|
||||
dirname = g_path_get_dirname (uri);
|
||||
basename = g_path_get_basename (uri);
|
||||
basename = file_utils_uri_display_basename (uri);
|
||||
|
||||
if (dirname && strlen (dirname) && strcmp (dirname, "."))
|
||||
gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (dialog),
|
||||
|
|
|
|||
Loading…
Reference in a new issue