|
|
@ -630,7 +630,7 @@ public class Preferences { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static List<SiteSettings> getSupportedSiteSettings() { |
|
|
|
public static List<SiteSettings> getSupportedSiteSettings() { |
|
|
|
List<SiteSettings> settings = new ArrayList<SiteSettings>(); |
|
|
|
List<SiteSettings> settings = new ArrayList<SiteSettings>(); |
|
|
|
settings.add(new SiteSettings("site_bitsnoop", "Bitsnoop")); |
|
|
|
settings.add(new SiteSettings("site_bitsnoop", "BitSnoop")); |
|
|
|
settings.add(new SiteSettings("site_extratorrent", "ExtraTorrent")); |
|
|
|
settings.add(new SiteSettings("site_extratorrent", "ExtraTorrent")); |
|
|
|
settings.add(new SiteSettings("site_isohunt", "isoHunt")); |
|
|
|
settings.add(new SiteSettings("site_isohunt", "isoHunt")); |
|
|
|
settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents")); |
|
|
|
settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents")); |
|
|
@ -653,7 +653,7 @@ public class Preferences { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static String getCursorKeyForPreferencesKey(String preferencesKey) { |
|
|
|
public static String getCursorKeyForPreferencesKey(String preferencesKey) { |
|
|
|
if (preferencesKey.equals("site_bitsnoop")) { |
|
|
|
if (preferencesKey.equals("site_bitsnoop")) { |
|
|
|
return "Bitsnoop"; |
|
|
|
return "BitSnoop"; |
|
|
|
} else if (preferencesKey.equals("site_extratorrent")) { |
|
|
|
} else if (preferencesKey.equals("site_extratorrent")) { |
|
|
|
return "ExtraTorrent"; |
|
|
|
return "ExtraTorrent"; |
|
|
|
} else if (preferencesKey.equals("site_isohunt")) { |
|
|
|
} else if (preferencesKey.equals("site_isohunt")) { |
|
|
@ -682,7 +682,7 @@ public class Preferences { |
|
|
|
|
|
|
|
|
|
|
|
public static SiteSettings getSupportedSiteSetting(String preferencesKey) { |
|
|
|
public static SiteSettings getSupportedSiteSetting(String preferencesKey) { |
|
|
|
if (preferencesKey.equals("site_bitsnoop")) { |
|
|
|
if (preferencesKey.equals("site_bitsnoop")) { |
|
|
|
return new SiteSettings(preferencesKey, "Bitsnoop"); |
|
|
|
return new SiteSettings(preferencesKey, "BitSnoop"); |
|
|
|
} else if (preferencesKey.equals("site_extratorrent")) { |
|
|
|
} else if (preferencesKey.equals("site_extratorrent")) { |
|
|
|
return new SiteSettings(preferencesKey, "ExtraTorrent"); |
|
|
|
return new SiteSettings(preferencesKey, "ExtraTorrent"); |
|
|
|
} else if (preferencesKey.equals("site_isohunt")) { |
|
|
|
} else if (preferencesKey.equals("site_isohunt")) { |
|
|
|