Commit e420e093 authored by Committed by Paolo Maggi
Fixes bug #311187:
2005-07-27 Federico Mena Quintero <email@example.com> Fixes bug #311187: * gedit-file-selector-util.c (gedit_file_selector_save): Take a full URI instead of a basename for "default_filename"; actually, renamed this argument to "default_uri". (run_file_selector): Likewise. (create_gtk_selector): Likewise. Also, just call gtk_file_chooser_set_uri() with the default_uri if it is available. * gedit-file.c (gedit_file_save_as): Use the document's raw URI if we already have it and it is a file:/// URI --- don't split into dirname and basename.
Showing with 40 additions and 33 deletions