* src/modest-tny-account-store.c: (modest_tny_account_store_new):
Commented out the MMC code again because it mistakenly detects
the card even when it isn't inserted.
pmo-trunk-r2992
2007-08-14 Murray Cumming <murrayc@murrayc.com>
* src/modest-tny-account-store.c: (modest_tny_account_store_new):
+ Commented out the MMC code again because it mistakenly detects
+ the card even when it isn't inserted.
+
+2007-08-14 Murray Cumming <murrayc@murrayc.com>
+
+ * src/modest-tny-account-store.c: (modest_tny_account_store_new):
Renabled the call to add_mmc_account() because I do not believe
it could be the cause of the mentioned hang (in scratchbox, where
there is no memory card), and because I have tested that it works
GnomeVFSVolume *volume = gnome_vfs_volume_monitor_get_volume_for_path (monitor,
MODEST_MCC1_VOLUMEPATH);
if (volume) {
+ printf ("%s: gnome_vfs_volume_monitor_get_volume_for_path(%s) returned something.\n",
+ __FUNCTION__, MODEST_MCC1_VOLUMEPATH);
+ #if 0 /* Commented out because gnome_vfs_volume_monitor_get_volume_for_path() seems
+ to report it as mounted even when the card is not inserted. */
/* It is mounted: */
add_mmc_account (MODEST_TNY_ACCOUNT_STORE (obj), FALSE /* don't emit the insert signal. */);
+ #endif
gnome_vfs_volume_unref(volume);
}