[maemo-commits] [maemo-commits] r16883 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Dec 5 16:29:16 EET 2008
- Previous message: [maemo-commits] r16882 - projects/haf/tags/dbus-glib
- Next message: [maemo-commits] r16884 - projects/haf/branches/hildon-fm/fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: yangli Date: 2008-12-05 16:29:15 +0200 (Fri, 05 Dec 2008) New Revision: 16883 Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c Log: no scanning for the sub-folders in building the invisible root Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c =================================================================== --- projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c 2008-12-05 13:50:45 UTC (rev 16882) +++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c 2008-12-05 14:29:15 UTC (rev 16883) @@ -2608,11 +2608,12 @@ if (new_child) g_node_prepend (result, new_child); } - /* Let's setup parent after children, so that adding children do not trigger premature "files-added" signals for parents. */ - setup_node_for_location(result); - + if(g_ascii_strcasecmp(HILDON_FILE_SYSTEM_SPECIAL_LOCATION(node->data)->basepath, + "file:///") != 0) { + setup_node_for_location(result); + } return result; }
- Previous message: [maemo-commits] r16882 - projects/haf/tags/dbus-glib
- Next message: [maemo-commits] r16884 - projects/haf/branches/hildon-fm/fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]