[maemo-commits] [maemo-commits] r16885 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Dec 5 16:45:32 EET 2008
- Previous message: [maemo-commits] r16884 - projects/haf/branches/hildon-fm/fremantle
- Next message: [maemo-commits] r16886 - projects/haf/doc/mvo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: yangli
Date: 2008-12-05 16:45:32 +0200 (Fri, 05 Dec 2008)
New Revision: 16885
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 14:29:27 UTC (rev 16884)
+++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c 2008-12-05 14:45:32 UTC (rev 16885)
@@ -2610,7 +2610,8 @@
}
/* Let's setup parent after children, so that adding children do not
trigger premature "files-added" signals for parents. */
- if(g_ascii_strcasecmp(HILDON_FILE_SYSTEM_SPECIAL_LOCATION(node->data)->basepath,
+ if(!HILDON_IS_FILE_SYSTEM_SPECIAL_LOCATION(node->data) &&
+ g_ascii_strcasecmp(HILDON_FILE_SYSTEM_SPECIAL_LOCATION(node->data)->basepath,
"file:///") != 0) {
setup_node_for_location(result);
}
- Previous message: [maemo-commits] r16884 - projects/haf/branches/hildon-fm/fremantle
- Next message: [maemo-commits] r16886 - projects/haf/doc/mvo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
