Rainie3535 / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Cannot rename file extension in book browser and rename selected should default to first extension name #1247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Select Rename for an entry in the book browser, e.g. old.xhtml
Highlight the entire file name not just the part before the extension
type new.html 
File is renamed to new.html.xhtml instead of new.html

For rename selected, if you rename a list of files, the extensions remain the 
same.  It makes more sense to rename the extension to match the original file 
since we're standardizing the names already.

Patch attached

- allows renaming the extension, but still checks for valid extension change
- prevents entering blank filename with an extension (e.g.  .xhtml) - 
previously only prevented completely blank name.
- renames the extension of all selected files to match the first entry

Original issue reported on code.google.com by meme90...@gmail.com on 8 Feb 2012 at 9:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by john@nachtimwald.com on 9 Feb 2012 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by daveheil...@gmail.com on 19 May 2012 at 3:20