mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
More roaming profile
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@96 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
abd3fbfc37
commit
ab0c6d0a23
@ -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)
|
||||
|
@ -26,6 +26,14 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
}
|
||||
}
|
||||
|
||||
public static string IconsFolder
|
||||
{
|
||||
get
|
||||
{
|
||||
return DataDirectory + "Icons" + Path.DirectorySeparatorChar;
|
||||
}
|
||||
}
|
||||
|
||||
public static string VobSubCompareFolder
|
||||
{
|
||||
get
|
||||
|
Loading…
Reference in New Issue
Block a user