[maemo-commits] [maemo-commits] r17015 - projects/haf/branches/hildon-fm/fremantle/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Dec 19 14:59:49 EET 2008
- Previous message: [maemo-commits] r17014 - in projects/haf/branches/hildon-fm/fremantle: . hildon-fm
- Next message: [maemo-commits] r17016 - projects/haf/trunk/maemo-launcher/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: yangli
Date: 2008-12-19 14:59:49 +0200 (Fri, 19 Dec 2008)
New Revision: 17015
Modified:
projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c
Log:
connect signals for 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-19 12:46:57 UTC (rev 17014)
+++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-system-model.c 2008-12-19 12:59:49 UTC (rev 17015)
@@ -2621,9 +2621,17 @@
setup_node_for_location(result);
}
- if(HILDON_IS_FILE_SYSTEM_LOCAL_DEVICE(node->data)) {
+ else if(HILDON_IS_FILE_SYSTEM_LOCAL_DEVICE(node->data)) {
setup_node_for_location(result);
}
+ else {
+ g_signal_connect(model_node->location, "changed",
+ G_CALLBACK(location_changed), result);
+ g_signal_connect(model_node->location, "connection-state",
+ G_CALLBACK(location_connection_state_changed), result);
+ g_signal_connect(model_node->location, "rescan",
+ G_CALLBACK(location_rescan), result);
+ }
}
return result;
- Previous message: [maemo-commits] r17014 - in projects/haf/branches/hildon-fm/fremantle: . hildon-fm
- Next message: [maemo-commits] r17016 - projects/haf/trunk/maemo-launcher/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
