Re: [Evolution-hackers] [Camel] Folder names
- From: Not Zed <notzed ximian com>
- To: Jules Colding <colding omesc com>
- Cc: Evolution Hackers <evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] [Camel] Folder names
- Date: Tue, 13 Sep 2005 22:06:12 +0800
The full-name is a / separated name, but it doesn't start with /. i.e.
you might have a folderinfo like:
fi = {
.name = "evolution";
.full_name = "Inbox/evolution";
};
full_name's last path component will relate to the .name -> but may also
be translated for different languages (it is up to the backend to do
this). It is never used to calculate any backend paths, only the
full_name is.
So, because of this, the full_name could be completely separated from
the display name, it just has to have the right number of levels in it,
and it has to be persistent.
i.e. you could probably just use the 'entryid' directly (i'm assuming it
is a persistent unique identifier), or add it to the path component, or
do fat-style munging. Or you could use a different top-level namespace.
The only problem with this is cosmetic - the full_name is often used
when displaying folder paths in various places, so a purely numerical
path may look strange.
I don't know if the connector even worries about this?
On Tue, 2005-09-13 at 14:06 +0200, Jules Colding wrote:
> Hi,
>
> Are folder names absolute path names in unix convention starting from
> the top folder, e.g.:
>
> "/Inbox/evolution"
>
> ??
>
> Thanks,
> jules
>
>
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
--
adfa(evolution-2.4:20087): gtkhtml-WARNING **: cannot find icon:
'stock_insert-url' in gnome
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]