GNOME Bugzilla – Bug 618182
The "Rename files" tool should remember the last Template used
Last modified: 2010-05-14 11:33:59 UTC
Hi, [This is on current git, Ubuntu 10.04 x64 up to date as of today.] I had to rename a lot of images, spread into several folders. The template I used to rename my images is "%D{%Y-%m-%d %Hh%Mm%Ss}%E", which is not the default template of the "Rename files" tool. I had to paste my template into the rename dialog, for every folder. It think it would be more convenient if the dialog could remember the last template used. I guess we all tend to use a single template for most of our files, so a template entered by a user is likely to be his preferred one. Another possibility would be to allow the preferred template to be set in the (still nonexistent) preference dialog of the "Rename files" extension. Best regards, Christophe
I totally agree with this report I had notice that a long time ago but never reported Thanks for reporting Christophe. Plus this is a regression because in 2.10.x the template was saved. Changing "severity" to "normal" for that.
Hi Matthias, I am working on a patch, and will submit it shortly. Cheers, Christophe
Created attachment 160772 [details] [review] patch to attach preferences to the "rename files" dialog Here is the patch. It creates a preference for every entry in the dialog, and sync them whenever it makes sense. I tried to be as robust as possible to incorrect preferences a user could have directly set using the gconf editor. Comments welcome. Cheers Christophe
Christophe, the patch looks good to me, thank you.
patch applied right now, thanks again.