mirror of https://github.com/GNOME/gimp.git
Bug 687673 - The image has been exported to '(null)' when export...
Show the imported URI if the exported URI is NULL, they are equivalent for this dialog.
This commit is contained in:
parent
e746fa51da
commit
55f025e469
|
@ -300,9 +300,16 @@ gimp_display_shell_close_time_changed (GimpMessageBox *box)
|
|||
}
|
||||
|
||||
if (! gimp_image_is_export_dirty (image))
|
||||
export_text =
|
||||
g_strdup_printf (_("The image has been exported to '%s'."),
|
||||
gimp_image_get_exported_uri (image));
|
||||
{
|
||||
const gchar *exported_uri = gimp_image_get_exported_uri (image);
|
||||
|
||||
if (! exported_uri)
|
||||
exported_uri = gimp_image_get_imported_uri (image);
|
||||
|
||||
export_text =
|
||||
g_strdup_printf (_("The image has been exported to '%s'."),
|
||||
exported_uri);
|
||||
}
|
||||
|
||||
if (time_text && export_text)
|
||||
gimp_message_box_set_text (box, "%s\n\n%s", time_text, export_text);
|
||||
|
|
Loading…
Reference in New Issue