Skip to content

Commit 8660c2d

Browse files
committed
Default start page RSS url is now in DistroConfig...
1 parent 18e5ae4 commit 8660c2d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Distros/HaxeDevelop/PluginCore/PluginCore/DistroConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class DistroConfig
1111
public const String DISTRIBUTION_ABOUT = "HaxeDevelop logo, domain and the name are copyright of Haxe Foundation.\r\nHaxeDevelop is a custom distribution of FlashDevelop.\r\nDevelopment: Mika Palmu, Philippe Elsass and all helpful contributors.";
1212
public const String DISTRIBUTION_COPYRIGHT = "HaxeDevelop.org 2015-2016";
1313
public const String DISTRIBUTION_COMPANY = "HaxeDevelop.org";
14+
public const String DISTRIBUTION_RSS = "http://www.flashdevelop.org/community/rss.php?f=15";
1415
}
1516

1617
}

External/Plugins/StartPage/PluginMain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void InitBasics()
180180
String version = Application.ProductName.Substring(lenght, Application.ProductName.IndexOf(" for") - lenght);
181181
String fileWithArgs = "index.html?l=" + localeName + "&v=" + HttpUtility.HtmlEncode(version);
182182
this.defaultStartPageUrl = Path.Combine(startPageDir, fileWithArgs);
183-
this.defaultRssUrl = "http://www.flashdevelop.org/community/rss.php?f=15";
183+
this.defaultRssUrl = DistroConfig.DISTRIBUTION_RSS; // Default feed...
184184
if (!Directory.Exists(dataDir)) Directory.CreateDirectory(dataDir);
185185
this.settingFilename = Path.Combine(dataDir, "Settings.fdb");
186186
this.pluginDesc = TextHelper.GetString("Info.Description");

PluginCore/PluginCore/DistroConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class DistroConfig
1111
public const String DISTRIBUTION_ABOUT = "FlashDevelop logo, domain and the name are copyright of Mika Palmu.\r\nDevelopment: Mika Palmu, Philippe Elsass and all helpful contributors.";
1212
public const String DISTRIBUTION_COPYRIGHT = "FlashDevelop.org 2005-2015";
1313
public const String DISTRIBUTION_COMPANY = "FlashDevelop.org";
14+
public const String DISTRIBUTION_RSS = "http://www.flashdevelop.org/community/rss.php?f=15";
1415
}
1516

1617
}

0 commit comments

Comments
 (0)