void DesktopSettingsView::RecordRevertSettings() { TrackerSettings settings; fShowDisksIcon = settings.ShowDisksIcon(); fMountVolumesOntoDesktop = settings.MountVolumesOntoDesktop(); fMountSharedVolumesOntoDesktop = settings.MountSharedVolumesOntoDesktop(); fEjectWhenUnmounting = settings.EjectWhenUnmounting(); }
bool DesktopSettingsView::IsDefaultable() const { TrackerSettings settings; return settings.ShowDisksIcon() != false || settings.MountVolumesOntoDesktop() != true || settings.MountSharedVolumesOntoDesktop() != true || settings.EjectWhenUnmounting() != true; }