public static void SaveSettings() { try { SetValue("gitssh", GitCommandHelpers.GetSsh()); Repositories.SaveSettings(); } catch { } }
public static void SaveSettings() { try { SettingsContainer.LockedAction(() => { SetString("gitssh", GitCommandHelpers.GetSsh()); Repositories.SaveSettings(); SettingsContainer.Save(); }); } catch { } }
public static void SaveSettings() { try { UseTimer = false; SetString("gitssh", GitCommandHelpers.GetSsh()); Repositories.SaveSettings(); UseTimer = true; SaveXMLDictionarySettings(EncodedNameMap, SettingsFilePath); } catch { } }
public static void SaveSettings() { try { SetValue("gitssh", GitCommandHelpers.GetSsh()); if (Repositories.RepositoryHistoryLoaded) { SetValue("history", Repositories.SerializeHistoryIntoXml()); } if (Repositories.RepositoryCategoriesLoaded) { SetValue("repositories", Repositories.SerializeRepositories()); } } catch { } }