~victored/noise/lp-1099591

« back to all changes in this revision

Viewing changes to plugins/Devices/CDRom/CDRomDeviceManager.vala

  • Committer: Corentin Noël
  • Date: 2014-03-07 15:06:55 UTC
  • Revision ID: tintou@mailoo.org-20140307150655-bqqrksl14ke55mjy
Improved the DeviceManager

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        var device_manager = DeviceManager.get_default ();
32
32
        device_manager.mount_added.connect (mount_added);
33
33
        device_manager.mount_removed.connect (mount_removed);
 
34
        foreach (var mount in device_manager.get_available_mounts ()) {
 
35
            mount_added (mount);
 
36
        }
34
37
    }
35
38
    
36
39
    public void remove_all () {