listen() {
    window.addEventListener('themes-list', this._listThemesHandler);
    window.addEventListener('theme-active-info', this._activeThemeHandler);
    window.addEventListener('theme-activate', this._activateHandler);
    window.addEventListener('theme-install', this._installHandler);
    window.addEventListener('theme-uninstall', this._uninstallHandler);
    ipc.on('theme-manager-error', this._errorHandler);
    ipc.on('theme-manager-themes-list', this._ipcThemesListHandler);
    ipc.on('theme-manager-active-theme-info', this._ipcInfoHandler);
    ipc.on('theme-manager-theme-activated', this._ipcActivatedHandler);
    ipc.on('theme-manager-theme-installed', this._ipcInstalledHandler);
    ipc.on('theme-manager-theme-uninstalled', this._ipcUninstalledHandler);
  }
/**
   * Listens for the ipc events to suppot theme changes
   */
Listens for the ipc events to suppot theme changes
Listens for the ipc events to suppot theme changes
listen() {
    window.addEventListener('themes-list', this._listThemesHandler);
    window.addEventListener('theme-active-info', this._activeThemeHandler);
    window.addEventListener('theme-activate', this._activateHandler);
    window.addEventListener('theme-install', this._installHandler);
    window.addEventListener('theme-uninstall', this._uninstallHandler);
    ipc.on('theme-manager-error', this._errorHandler);
    ipc.on('theme-manager-themes-list', this._ipcThemesListHandler);
    ipc.on('theme-manager-active-theme-info', this._ipcInfoHandler);
    ipc.on('theme-manager-theme-activated', this._ipcActivatedHandler);
    ipc.on('theme-manager-theme-installed', this._ipcInstalledHandler);
    ipc.on('theme-manager-theme-uninstalled', this._ipcUninstalledHandler);
  }
listen ( ) { window . addEventListener ( 'themes-list' , this . _listThemesHandler ) ; window . addEventListener ( 'theme-active-info' , this . _activeThemeHandler ) ; window . addEventListener ( 'theme-activate' , this . _activateHandler ) ; window . addEventListener ( 'theme-install' , this . _installHandler ) ; window . addEventListener ( 'theme-uninstall' , this . _uninstallHandler ) ; ipc . on ( 'theme-manager-error' , this . _errorHandler ) ; ipc . on ( 'theme-manager-themes-list' , this . _ipcThemesListHandler ) ; ipc . on ( 'theme-manager-active-theme-info' , this . _ipcInfoHandler ) ; ipc . on ( 'theme-manager-theme-activated' , this . _ipcActivatedHandler ) ; ipc . on ( 'theme-manager-theme-installed' , this . _ipcInstalledHandler ) ; ipc . on ( 'theme-manager-theme-uninstalled' , this . _ipcUninstalledHandler ) ; }
Listens for the ipc events to suppot theme changes
Listens for the ipc events to suppot theme changes