More roaming profile

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@96 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2010-10-27 08:33:56 +00:00
parent abd3fbfc37
commit ab0c6d0a23
2 changed files with 9 additions and 2 deletions

View File

@ -1376,7 +1376,7 @@ namespace Nikse.SubtitleEdit.Forms
private void TryLoadIcon(ToolStripButton button, string iconName)
{
string fullPath = Configuration.BaseDirectory + @"Icons\" + iconName + ".png";
string fullPath = Configuration.IconsFolder + iconName + ".png";
if (File.Exists(fullPath))
button.Image = new Bitmap(fullPath);
}
@ -1417,7 +1417,6 @@ namespace Nikse.SubtitleEdit.Forms
toolStripSeparatorFindReplace.Visible = gs.ShowToolbarFind || gs.ShowToolbarReplace;
toolStripSeparatorHelp.Visible = gs.ShowToolbarHelp;
}
private void ToolStripButtonFileNewClick(object sender, EventArgs e)

View File

@ -26,6 +26,14 @@ namespace Nikse.SubtitleEdit.Logic
}
}
public static string IconsFolder
{
get
{
return DataDirectory + "Icons" + Path.DirectorySeparatorChar;
}
}
public static string VobSubCompareFolder
{
get