mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Removed TrayTextMoreInfo advanced option instead using DevMode option for it
This commit is contained in:
parent
22efe74511
commit
58b010d9c5
2 changed files with 9 additions and 12 deletions
|
@ -178,9 +178,6 @@ public ApplicationConfig()
|
|||
[Editor(typeof(ExeFileNameEditor), typeof(UITypeEditor))]
|
||||
public string BrowserPath { get; set; }
|
||||
|
||||
[Category("Application"), DefaultValue(false), Description("Show version and build info in tray text so if you are running more than one ShareX build you can differentiate them in tray bar.")]
|
||||
public bool TrayTextMoreInfo { get; set; }
|
||||
|
||||
[Category("Application"), DefaultValue(false), Description("Save settings after task completed but only if there is no other active tasks.")]
|
||||
public bool SaveSettingsAfterTaskCompleted { get; set; }
|
||||
|
||||
|
|
|
@ -975,15 +975,6 @@ private void UpdateActionsMenu(string filePath)
|
|||
|
||||
private void AfterApplicationSettingsJobs()
|
||||
{
|
||||
if (Program.Settings.TrayTextMoreInfo)
|
||||
{
|
||||
niTray.Text = Program.TitleLong;
|
||||
}
|
||||
else
|
||||
{
|
||||
niTray.Text = "ShareX";
|
||||
}
|
||||
|
||||
HotkeyRepeatLimit = Program.Settings.HotkeyRepeatLimit;
|
||||
|
||||
HelpersOptions.CurrentProxy = Program.Settings.ProxySettings;
|
||||
|
@ -1010,6 +1001,15 @@ private void AfterApplicationSettingsJobs()
|
|||
niTray.Icon = ShareXResources.Icon;
|
||||
}
|
||||
|
||||
if (HelpersOptions.DevMode)
|
||||
{
|
||||
niTray.Text = Program.TitleLong;
|
||||
}
|
||||
else
|
||||
{
|
||||
niTray.Text = "ShareX";
|
||||
}
|
||||
|
||||
tsmiRestartAsAdmin.Visible = HelpersOptions.DevMode && !Helpers.IsAdministrator();
|
||||
|
||||
#if RELEASE
|
||||
|
|
Loading…
Reference in a new issue