This is the patch that fixes both #479475 and #491777.
However, I would suggest that by default the files should not get "synchronized" emblem. Syncdaemon may be too busy to respond but the files will carry "synchronized" check marks assuring the user that they are already available from the web interface.
if (!g_hash_table_lookup (uon->updated, path) && !g_hash_table_lookup (uon->needsupdating, path)) {
- /* Add the unsynchronized emblem anyway, and update later */
- nautilus_file_info_add_emblem (file, "ubuntuone-synchronized");
+ /* Add the synchronized emblem anyway, and update later */
+ nautilus_file_info_add_emblem (file, "ubuntuone-unsynchronized");
dbus_g_proxy_begin_call (uon->u1_fs, "get_metadata", ubuntuone_nautilus_update_meta, uon,
NULL, G_TYPE_STRING, path, G_TYPE_INVALID);
goto updating_meta;
}
This is the patch that fixes both #479475 and #491777.
However, I would suggest that by default the files should not get "synchronized" emblem. Syncdaemon may be too busy to respond but the files will carry "synchronized" check marks assuring the user that they are already available from the web interface.
if (!g_hash_ table_lookup (uon->updated, path) &&
!g_hash_ table_lookup (uon->needsupda ting, path)) { file_info_ add_emblem (file, "ubuntuone- synchronized" ); file_info_ add_emblem (file, "ubuntuone- unsynchronized" ); g_proxy_ begin_call (uon->u1_fs, "get_metadata",
ubuntuone_ nautilus_ update_ meta, uon,
- /* Add the unsynchronized emblem anyway, and update later */
- nautilus_
+ /* Add the synchronized emblem anyway, and update later */
+ nautilus_
dbus_
NULL, G_TYPE_STRING, path, G_TYPE_INVALID);
goto updating_meta;
}
You can see the emblems in action here: http:// www.youtube. com/watch? v=a2gxJQ2jwqM
It also shows that default synchronized emblems are bad, see the photo upload part.