GNOME Bugzilla – Bug 658282
Don't check on non-file locations
Last modified: 2011-09-06 16:10:39 UTC
(gnome-settings-daemon:15912): updates-plugin-DEBUG: checking for /home/hadess/.gvfs/Documents on iPhone/media.repo: no (gnome-settings-daemon:15912): updates-plugin-DEBUG: checking for /home/hadess/.gvfs/Documents on iPhone/.discinfo: no (gnome-settings-daemon:15912): updates-plugin-DEBUG: checking for /home/hadess/.gvfs/iPhone/media.repo: no (gnome-settings-daemon:15912): updates-plugin-DEBUG: checking for /home/hadess/.gvfs/iPhone/.discinfo: no Otherwise mounting an smb share could popup the update.
Is this the sort of thing that g_file_is_native() is designed for?
Yep, that should do.
commit 1cdc54b30058d5d9625b53a0b0baf489de0c678f Author: Richard Hughes <richard@hughsie.com> Date: Tue Sep 6 17:09:52 2011 +0100 updates: Ignore virtual mountpoints when looking for external media Resolves https://bugzilla.gnome.org/show_bug.cgi?id=658282