|
From: <fr...@us...> - 2010-05-04 15:45:17
|
Revision: 3573
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3573&view=rev
Author: framug
Date: 2010-05-04 15:45:10 +0000 (Tue, 04 May 2010)
Log Message:
-----------
- Update french.
- Remove some comments.
- Update Authors.
THX SE :-)
Modified Paths:
--------------
trunk/plugins/File Explorer/Constants.cs
trunk/plugins/File Explorer/Dialogs/GUIDialogOperation.cs
trunk/plugins/File Explorer/DrivesView.cs
trunk/plugins/File Explorer/File Explorer.cs
trunk/plugins/File Explorer/Language/strings_fr.xml
trunk/plugins/File Explorer/Setup.cs
Modified: trunk/plugins/File Explorer/Constants.cs
===================================================================
--- trunk/plugins/File Explorer/Constants.cs 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/Constants.cs 2010-05-04 15:45:10 UTC (rev 3573)
@@ -203,7 +203,7 @@
/// <summary>
/// Author of PlugIn.
/// </summary>
- public static readonly string AUTHOR = "Andreas Groß, framug, -ltb- (gfx)";
+ public static readonly string AUTHOR = "Andreas Groß, framug, SilentExcept, -ltb- (gfx)";
}
#endregion
Modified: trunk/plugins/File Explorer/Dialogs/GUIDialogOperation.cs
===================================================================
--- trunk/plugins/File Explorer/Dialogs/GUIDialogOperation.cs 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/Dialogs/GUIDialogOperation.cs 2010-05-04 15:45:10 UTC (rev 3573)
@@ -395,18 +395,14 @@
}
}
}
- //fmu if someone know how to remove this obsolete m$soft method ?
private void SuspendThread()
{
Paused = true;
- //processThread.Suspend();
}
- //fmu if someone know how to remove this obsolete m$soft method ?
private void ResumeThread()
{
Paused = false;
- //processThread.Resume();
}
private string GetFilename(string filePath)
Modified: trunk/plugins/File Explorer/DrivesView.cs
===================================================================
--- trunk/plugins/File Explorer/DrivesView.cs 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/DrivesView.cs 2010-05-04 15:45:10 UTC (rev 3573)
@@ -213,6 +213,7 @@
SetStandardValues();
string DefaultPath = String.Empty;
XmlConfig XmlConfig = new XmlConfig();
+
if (lstId == Constants.ControlIDs.LISTBOX_LEFT)
{
DefaultPath = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERLEFT, String.Empty);
@@ -221,6 +222,7 @@
{
DefaultPath = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERRIGHT, String.Empty);
}
+
if (DefaultPath != String.Empty)
{
currentPath = DefaultPath;
Modified: trunk/plugins/File Explorer/File Explorer.cs
===================================================================
--- trunk/plugins/File Explorer/File Explorer.cs 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/File Explorer.cs 2010-05-04 15:45:10 UTC (rev 3573)
@@ -161,23 +161,14 @@
{
GUIPropertyManager.SetProperty("#currentmodule", "File Explorer");
- btnMenuLeft.Label = Constants.Skin.MENULEFT; //fmu
- btnMenuRight.Label = Constants.Skin.MENURIGHT; //fmu
+ btnMenuLeft.Label = Constants.Skin.MENULEFT;
+ btnMenuRight.Label = Constants.Skin.MENURIGHT;
viewLeft = new DrivesView(this.GetID, Constants.ControlIDs.LISTBOX_LEFT, lblLeftID, lblDirLeftID);
viewRight = new DrivesView(this.GetID, Constants.ControlIDs.LISTBOX_RIGHT, lblRightID, lblDirRightID);
viewLeft.SecondView = viewRight;
viewRight.SecondView = viewLeft;
- /*
- Settings s = new Settings(Config.GetFile(Config.Dir.Config, "File Explorer.xml"));
- viewLeft.ShowExtensions = s.GetValueAsBool("File Explorer", Constants.SetupForm.valueNames[0], Constants.SetupForm.valueStandards[0]);
- viewLeft.DeleteFilesToTrashcan = s.GetValueAsBool("File Explorer", Constants.SetupForm.valueNames[1], Constants.SetupForm.valueStandards[1]);
- viewLeft.ShowAllFiles = s.GetValueAsBool("File Explorer", Constants.SetupForm.valueNames[2], Constants.SetupForm.valueStandards[2]);
- viewLeft.ShowSystemFiles = s.GetValueAsBool("File Explorer", Constants.SetupForm.valueNames[3], Constants.SetupForm.valueStandards[3]);
- viewLeft.ShowSystemDirs = s.GetValueAsBool("File Explorer", Constants.SetupForm.valueNames[4], Constants.SetupForm.valueStandards[4]);
- */
-
XmlConfig XmlConfig = new XmlConfig();
viewLeft.ShowExtensions = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.valueNames[0], Constants.SetupForm.valueStandards[0]);
Modified: trunk/plugins/File Explorer/Language/strings_fr.xml
===================================================================
--- trunk/plugins/File Explorer/Language/strings_fr.xml 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/Language/strings_fr.xml 2010-05-04 15:45:10 UTC (rev 3573)
@@ -134,6 +134,6 @@
<String id="130">Rechercher</String>
<String id="131">Vider la Corbeille</String>
<String id="132">Confirmer</String>
- <String id="133">Unable to empty Recycle Bin</String>
+ <String id="133">Impossible de vider la Corbeille</String>
</Section>
</Language>
\ No newline at end of file
Modified: trunk/plugins/File Explorer/Setup.cs
===================================================================
--- trunk/plugins/File Explorer/Setup.cs 2010-05-04 13:18:18 UTC (rev 3572)
+++ trunk/plugins/File Explorer/Setup.cs 2010-05-04 15:45:10 UTC (rev 3573)
@@ -218,16 +218,15 @@
#region private members
private void LoadSettings()
{
- // Settings s = new Settings(Config.GetFile(Config.Dir.Config, "File Explorer.xml"));
XmlConfig XmlConfig = new XmlConfig();
bool b;
for (int i = 0; i < Constants.SetupForm.valueNames.Length; i++)
{
- // b = s.GetValueAsBool("explorer", Constants.SetupForm.valueNames[i], Constants.SetupForm.valueStandards[i]);
b = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.valueNames[i], Constants.SetupForm.valueStandards[i]);
lstOptions.SetItemChecked(i, b);
}
+
this.textBoxFolderLeftMenu.Text = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERLEFT, String.Empty);
this.textBoxFolderRightMenu.Text = XmlConfig.ReadXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERRIGHT, String.Empty);
@@ -237,14 +236,13 @@
private void SaveSettings()
{
- // Settings s = new Settings(Config.GetFile(Config.Dir.Config, "File Explorer.xml"));
XmlConfig XmlConfig = new XmlConfig();
for (int i = 0; i < Constants.SetupForm.valueNames.Length; i++)
{
- // s.SetValueAsBool("explorer", Constants.SetupForm.valueNames[i], IsItemChecked(i));
XmlConfig.WriteXmlConfig("File Explorer", "explorer", Constants.SetupForm.valueNames[i], IsItemChecked(i));
}
+
XmlConfig.WriteXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERLEFT, this.textBoxFolderLeftMenu.Text);
XmlConfig.WriteXmlConfig("File Explorer", "explorer", Constants.SetupForm.DEFAULTFOLDERRIGHT, this.textBoxFolderRightMenu.Text);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|