diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index 7c2bd2d2..024762a3 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -145,10 +145,15 @@ namespace SparkleShare { if (Directory.Exists (Program.Controller.PluginsPath)) { foreach (string xml_file_path in Directory.GetFiles (Program.Controller.PluginsPath, "*.xml")) { // ...and "Own server" at the very top - if (xml_file_path.EndsWith ("own-server.xml")) + if (xml_file_path.EndsWith ("own-server.xml")) { Plugins.Insert (0, new SparklePlugin (xml_file_path)); - else + + } else if (xml_file_path.EndsWith ("ssnet.xml")) { + Plugins.Insert (1, new SparklePlugin (xml_file_path)); + + } else { Plugins.Add (new SparklePlugin (xml_file_path)); + } } } diff --git a/data/plugins/github.xml.in b/data/plugins/github.xml.in index 0edf9a2c..317b58f9 100644 --- a/data/plugins/github.xml.in +++ b/data/plugins/github.xml.in @@ -3,7 +3,7 @@ <_name>Github - <_description>Collaborate on projects hosted on github.com + <_description>Collaborate on projects hosted on Github github.png Git 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 diff --git a/data/plugins/ssnet.png b/data/plugins/ssnet.png new file mode 100644 index 00000000..476d8328 Binary files /dev/null and b/data/plugins/ssnet.png differ diff --git a/data/plugins/ssnet.xml.in b/data/plugins/ssnet.xml.in new file mode 100644 index 00000000..dbb88d81 --- /dev/null +++ b/data/plugins/ssnet.xml.in @@ -0,0 +1,20 @@ + + + + + <_name>SparkleShare.Net + <_description>The easiest way to share projects with SparkleShare + ssnet.png + Git + +
+ ssh://storage@sparkleshare.net/ + +
+ + + <_example>/username/project + +
+
+