Exemple #1
0
 private void _configService_SettingsChanged(object sender, EventArgs e)
 {
     _config = _configService.LoadConfiguration();
     _hooks.HookHotkeys();
     // also updates the ShortcutKey text
     _appMenus.Localize();
     UpdateLoggingLevel();
 }
Exemple #2
0
        public void Startup()
        {
            EnsureLogFolderPathExists();
            EnsureTempPathExists();
            ApplyCultureConfig();

            LogRubberduckStart();
            UpdateLoggingLevel();

            CheckForLegacyIndenterSettings();
            _appMenus.Initialize();
            _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts
            _appMenus.Localize();

            if (_config.UserSettings.GeneralSettings.CanCheckVersion)
            {
                _checkVersionCommand.Execute(null);
            }
        }
Exemple #3
0
 private void _configService_SettingsChanged(object sender, EventArgs e)
 {
     // also updates the ShortcutKey text
     _appMenus.Localize();
     _hooks.HookHotkeys();
 }