Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

How to get an user friendly path description ?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


Fred at Lefevere-Laoide

Oct 17, 2009, 1:06 AM

Post #1 of 2 (668 views)
Permalink
How to get an user friendly path description ?

Hi,

Is there a way to get a User friendly description for a path ?

ie see "N900 Documents/toto" instead of "/home/user/MyDocsDir/.documents/toto" ?

Thanks

Fred

PS : Faheem already proposed the baseName glib function but it only
gives the name of the file ...
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


julle.luukko at quicknet

Oct 17, 2009, 7:42 AM

Post #2 of 2 (597 views)
Permalink
Re: How to get an user friendly path description ? [In reply to]

Sat, 17 Oct 2009 10:06:25 +0200
Fred Lefévère-Laoide <Fred [at] Lefevere-Laoide> kirjoitti:

> Hi,
>
> Is there a way to get a User friendly description for a path ?
>
> ie see "N900 Documents/toto" instead of
> "/home/user/MyDocsDir/.documents/toto" ?
>
> Thanks
>
> Fred
>
> PS : Faheem already proposed the baseName glib function but it only
> gives the name of the file ...

Is it really necessary to show the whole path? Instead use the baseName
and use file save/load dialogs to actually show/change the whole path.
The user would cancel the dialog if happy with the path.

--
Julius
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.