Please review the patch fixed bugster bug 6663349 restarting nautilus generates garbage in $HOME.
This is a regression of patch nautilus-09, the return type of g_file_new_for_path is a GFile *, not gchar* In the original patch, we used g_file_test to testing whether the certain directory is exist, then create it if not present, but the parameter we passed into g_file_test is a GFile, thus, some strange string will be generated and the garbage directory is created in $HOME. To fix the bug, we simply use a separate gchar* to store the user's document directory. Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: nautilus.diff Type: text/x-patch Size: 33643 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20080320/24c27191/attachment.bin>
