From 743176c20fa5da428e93c2b6a5f8563311b51698 2011-12-01 17:06:35 From: Matthias BUSSONNIER Date: 2011-12-01 17:06:35 Subject: [PATCH] write busy in notebook window title --- diff --git a/IPython/frontend/html/notebook/static/js/kernelstatus.js b/IPython/frontend/html/notebook/static/js/kernelstatus.js index da18a06..5b61157 100644 --- a/IPython/frontend/html/notebook/static/js/kernelstatus.js +++ b/IPython/frontend/html/notebook/static/js/kernelstatus.js @@ -34,6 +34,7 @@ var IPython = (function (IPython) { this.element.removeClass("status_idle"); this.element.removeClass("status_restarting"); this.element.addClass("status_busy"); + window.document.title='(Busy) '+window.document.title; this.element.text("Busy"); }; @@ -42,6 +43,7 @@ var IPython = (function (IPython) { this.element.removeClass("status_busy"); this.element.removeClass("status_restarting"); this.element.addClass("status_idle"); + IPython.save_widget.set_document_title(); this.element.text("Idle"); };