media-export: Deactivate on slow Tracker start-up
authorJens Georg <mail@jensge.org>
Mon, 17 Oct 2011 19:27:13 +0000 (21:27 +0200)
committerJens Georg <mail@jensge.org>
Thu, 20 Oct 2011 17:07:59 +0000 (19:07 +0200)
commit1f2f3fd1b6c5c47dc4dfd4c41629358b54cd847f
tree12d0655f85aec3be96226b9eab71bce6a8fe1a6f
parentb9725af6e4d237b317f13702dda89635169563ae
media-export: Deactivate on slow Tracker start-up

If the startup of the Tracker plug-in is delayed (e.g. due to DBus
activation) the old method of disabling MediaExport did not work since
the Tracker plug-in was not active when MediaExport was loaded. The
plug-in now listens to notify::active of the Tracker plug-in and
deactivates itself once that changes to "true".

https://bugzilla.gnome.org/show_bug.cgi?id=662031
src/plugins/media-export/rygel-media-export-plugin.vala