From: <fr...@us...> - 2007-08-10 06:06:00
|
Revision: 823 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=823&view=rev Author: framug Date: 2007-08-09 23:05:54 -0700 (Thu, 09 Aug 2007) Log Message: ----------- own xml config file Modified Paths: -------------- trunk/plugins/MyExplorer/GUIExplorer.cs trunk/plugins/MyExplorer/SetupForm.cs Modified: trunk/plugins/MyExplorer/GUIExplorer.cs =================================================================== --- trunk/plugins/MyExplorer/GUIExplorer.cs 2007-08-09 16:23:38 UTC (rev 822) +++ trunk/plugins/MyExplorer/GUIExplorer.cs 2007-08-10 06:05:54 UTC (rev 823) @@ -770,18 +770,18 @@ /// </summary> private void LoadShareSettings() { - using(MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml")) + using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyExplorer.xml")) { showOnlyShares=xmlreader.GetValueAsBool("myexplorer","show_only_shares",false); } } /// <summary> - /// Loads all Settings from MediaPortal.xml + /// Loads all Settings from MyExplorer.xml /// </summary> private void LoadSettings() { - using(MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml")) + using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyExplorer.xml")) { tempFolder=xmlreader.GetValueAsString("myexplorer","temp_folder",""); enableDelete=xmlreader.GetValueAsBool("myexplorer","enable_delete",false); Modified: trunk/plugins/MyExplorer/SetupForm.cs =================================================================== --- trunk/plugins/MyExplorer/SetupForm.cs 2007-08-09 16:23:38 UTC (rev 822) +++ trunk/plugins/MyExplorer/SetupForm.cs 2007-08-10 06:05:54 UTC (rev 823) @@ -319,7 +319,7 @@ private void LoadSettings() { - using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml")) + using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyExplorer.xml")) { textBox1.Text = xmlreader.GetValueAsString("myexplorer", "temp_folder", ""); checkBox1.Checked = xmlreader.GetValueAsBool("myexplorer", "show_only_shares", false); @@ -331,7 +331,7 @@ private void SaveSettings() { - using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MediaPortal.xml")) + using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MyExplorer.xml")) { xmlwriter.SetValue("myexplorer", "temp_folder", textBox1.Text); xmlwriter.SetValueAsBool("myexplorer", "show_only_shares", checkBox1.Checked); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |