From: Zurd <zu...@ya...> - 2007-02-14 21:11:32
|
New updates : A lot of minor modifications on the user interfaces, I finished reading the guide "GNOME Human Interface Guidelines", I can now say that GPRename is following the standard on user interfaces for Gnome. I added 2 new options : 1) Show path, might be useful when the recursive renaming will be functional. 2) Filter, if someone has a directory containing a lot of .txt, .jpg, .mp3 and whatever and they only want to rename the .jpg, just type "jpg" in the filter. And now for the big changes, these took more a lot of time to code, because I had to re-code all the functions (case, insert, replace, numerical). They're not noticeable though, only if you look at the source code. Before, GPRename was using the function SimpleList for the list of files and directories, but this function is deprecated, it's still working for now but in future version of GTK-Perl it's not going to be there. I had the option to use an external module which is the same as SimpleList, but I don't like the idea of installing perl, gtk2-perl, glib, gprename and then another perl module. There's enough dependencies. So I had to code from scratch the list of files and directories. Same thing for the tree, GPRename was using a pre-made function for it, so I deleted it and re-code it from scratch. Since I now have a good grasp of the tree and the list I've been able to add the Show path and Filter option without too much effort. And to open up the tree at start, but just for the root directory (i.e. /). The recursive option and the function to open the tree completely where the user is calling GPRename will come next. I'll have to make a few modifications but it shouldn't be that hard. Hopefully, since I change the function for the tree and the list, nothing will be broken. I've tested it as much as I can and it's all working like it was before. So GPRename 2.1 is almost there, should be out in about 2 weeks. __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Courriel vous offre la meilleure protection possible contre les messages non nollicités http://mail.yahoo.ca Yahoo! Courriel |