Re: [Evolution-hackers] EPlugin, export mail folder, Update!



So ive been abit buissy, and poking some on the plugin from time to time
too. 

Here is how its going to work. 

One rightclicks the folder one wants to export.
One gets a "save to directory" dialog.
One chooses directory.
The directory structure + mbox-files are created in that folder.
(ill also look into the possibillity of running some compression on it,
hopefully by using zlib)

The other i sortof got working atm.

Though i got some ugly system("mkdir -p ") hack, to create the folder
structure. That, and a function for putting together the path of the
folders to extract, from /path/choosen/by/widget/ +
/the/folder/structure/ =
/path/choosen/by/widget/the.sbd/folder.sbd/structure.sbd/

When all that is done, i then think of running the compression on the
whole folder.

That way you get both a compressed file and the hole directory
structure. (pro, you get to choose if you want to delete it or save it.
con, it takes up alot of space)

Oh yeah, one only gets 1 dialog. The rest is done automaticly.

/Nicklas





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]