[maemo-commits] [maemo-commits] r16852 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Dec 4 12:59:51 EET 2008
- Previous message: [maemo-commits] r16851 - projects/haf/trunk/hildon-thumbnail/daemon/plugins
- Next message: [maemo-commits] r16853 - projects/haf/tags/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: yangli Date: 2008-12-04 12:59:51 +0200 (Thu, 04 Dec 2008) New Revision: 16852 Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-private.c Log: switch the classes for root and virtual node creation Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-private.c =================================================================== --- projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-private.c 2008-12-04 10:12:45 UTC (rev 16851) +++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-private.c 2008-12-04 10:59:51 UTC (rev 16852) @@ -154,13 +154,13 @@ /* Invisible root node above everything else */ - location = g_object_new (HILDON_TYPE_FILE_SYSTEM_ROOT, NULL); + location = g_object_new (HILDON_TYPE_FILE_SYSTEM_SPECIAL_LOCATION, NULL); /* give it a very wrong path to prevent it list the file system layout */ - location->basepath = g_strdup ("files:///"); + location->basepath = g_strdup ("file:///"); locations = g_node_new (location); - virtual_location = g_object_new(HILDON_TYPE_FILE_SYSTEM_SPECIAL_LOCATION, NULL); - virtual_location->basepath = g_strdup ("files:///"); + virtual_location = g_object_new(HILDON_TYPE_FILE_SYSTEM_ROOT, NULL); + virtual_location->basepath = g_strdup ("file:///"); virtual_node = g_node_new (virtual_location);
- Previous message: [maemo-commits] r16851 - projects/haf/trunk/hildon-thumbnail/daemon/plugins
- Next message: [maemo-commits] r16853 - projects/haf/tags/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]