activate(themeId) {
    const requestid = (++this._lastId);
    ipc.send('theme-manager-activate-theme', requestid, themeId);
    return new Promise((resolve, reject) => {
      this._promises[requestid] = { resolve, reject };
    });
  }
/**
   * Activates the theme. It stores theme id in user preferences and loads the
   * theme.
   * @param {String} themeId Theme ID to activate
   * @return {Promise} Promise resolved when theme is avtivated
   */
Activates the theme. It stores theme id in user preferences and loads the
theme.
@param {String} themeId Theme ID to activate
@return {Promise} Promise resolved when theme is avtivated
Activates the theme . It stores theme id in user preferences and loads the theme . @param { String } themeId Theme ID to activate @return { Promise } Promise resolved when theme is avtivated
activate(themeId) {
    const requestid = (++this._lastId);
    ipc.send('theme-manager-activate-theme', requestid, themeId);
    return new Promise((resolve, reject) => {
      this._promises[requestid] = { resolve, reject };
    });
  }
activate ( themeId ) { const requestid = ( ++ this . _lastId ) ; ipc . send ( 'theme-manager-activate-theme' , requestid , themeId ) ; return new Promise ( ( resolve , reject ) => { this . _promises [ requestid ] = { resolve , reject } ; } ) ; }
Activates the theme.
Activates the theme .