浏览代码

Remove the activated signal from console panels.

Afshin Darian 8 年之前
父节点
当前提交
2a64952ce4
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0 14
      src/console/panel.ts

+ 0 - 14
src/console/panel.ts

@@ -9,10 +9,6 @@ import {
   Message
 } from 'phosphor/lib/core/messaging';
 
-import {
-  defineSignal, ISignal
-} from 'phosphor/lib/core/signaling';
-
 import {
   Panel
 } from 'phosphor/lib/ui/panel';
@@ -57,11 +53,6 @@ class ConsolePanel extends Panel {
     this.addWidget(this._content);
   }
 
-  /**
-   * A signal emitted when the console panel has been activated.
-   */
-  activated: ISignal<ConsolePanel, void>;
-
   /**
    * The console widget used by the panel.
    *
@@ -92,7 +83,6 @@ class ConsolePanel extends Panel {
    */
   protected onActivateRequest(msg: Message): void {
     this.content.activate();
-    this.activated.emit(void 0);
   }
 
   /**
@@ -125,10 +115,6 @@ class ConsolePanel extends Panel {
 }
 
 
-// Define the signals for the `ConsolePanel` class.
-defineSignal(ConsolePanel.prototype, 'activated');
-
-
 /**
  * A namespace for ConsolePanel statics.
  */