Hi,

The only way to define what root nodes are shown on the left side is to provide a custom root path, but this also hides MMC and gateway devices. So, there is currently no way to "just add a new toplevel node".

-Markku-

Kimmo Hämäläinen wrote:
On Tue, 2006-04-25 at 09:18, ext 程波 程 wrote:

to make use of HildonFileSelection  ,code snipper is :
............
HildonFileSystemModel * model =
HILDON_FILE_SYSTEM_MODEL(g_object_new(HILDON_TYPE_FILE_SYSTEM_MODEL,
"ref-widget",appview, NULL));

select=(GtkWidget*)hildon_file_selection_new_with_model(model);

.............
after that , a selection widget is in screen, but
I need to generate some dynamic node in the left pane
,not just the file in the disk


I'm afraid the top nodes ("drives") on the left pane are hard-coded at
the moment. So, you would have to hack the hildon-fm code to do that.
The code is here:

https://stage.maemo.org/svn/maemo/projects/haf/maemo-branches/IT-2005/trunk/hildon-fm/

BR, Kimmo


anyone give me some guides
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to