mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
This should fix showing the notification on the first start.
This commit is contained in:
parent
87f3b6a871
commit
6e7a911477
1 changed files with 6 additions and 4 deletions
|
@ -352,7 +352,7 @@ namespace Greenshot {
|
||||||
// Disable access to the settings, for feature #3521446
|
// Disable access to the settings, for feature #3521446
|
||||||
contextmenu_settings.Visible = !_conf.DisableSettings;
|
contextmenu_settings.Visible = !_conf.DisableSettings;
|
||||||
|
|
||||||
// Make sure all hotkeys pass this window!
|
// Make sure all hot-keys pass this window!
|
||||||
HotkeyControl.RegisterHotkeyHwnd(Handle);
|
HotkeyControl.RegisterHotkeyHwnd(Handle);
|
||||||
RegisterHotkeys();
|
RegisterHotkeys();
|
||||||
|
|
||||||
|
@ -444,9 +444,11 @@ namespace Greenshot {
|
||||||
Exit();
|
Exit();
|
||||||
break;
|
break;
|
||||||
case CommandEnum.FirstLaunch:
|
case CommandEnum.FirstLaunch:
|
||||||
LOG.Info("FirstLaunch: Created new configuration, showing balloon.");
|
Invoke((MethodInvoker)delegate {
|
||||||
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<INotificationService>();
|
LOG.Info("FirstLaunch: Created new configuration, showing balloon.");
|
||||||
notifyIconClassicMessageHandler.ShowInfoMessage(Language.GetFormattedString(LangKey.tooltip_firststart, HotkeyControl.GetLocalizedHotkeyStringFromString(_conf.RegionHotkey)), 2000, ShowSetting);
|
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<INotificationService>();
|
||||||
|
notifyIconClassicMessageHandler.ShowInfoMessage(Language.GetFormattedString(LangKey.tooltip_firststart, HotkeyControl.GetLocalizedHotkeyStringFromString(_conf.RegionHotkey)), 2000, ShowSetting);
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
case CommandEnum.ReloadConfig:
|
case CommandEnum.ReloadConfig:
|
||||||
LOG.Info("Reload requested");
|
LOG.Info("Reload requested");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue