In case anyone is interested, here is a quick patch to get rid of that
annoying behavior of the notebook that creates a new Active Worksheets
tab every time I close a worksheet.

Warning: William said that this behaviour is intended to avoid
"massive corruption" but it is not clear to me how opening worksheets
in new tabs would prevent that. In any case I always click "Discard &
quit" instead of the browser back button.


sage subshell$ hg diff
diff -r 5bf36a37cd0c sage/server/notebook/templates/worksheet_listing.html
--- a/sage/server/notebook/templates/worksheet_listing.html     Wed Oct 14
14:43:41 2009 -0700
+++ b/sage/server/notebook/templates/worksheet_listing.html     Wed Oct 21
12:43:55 2009 -0400
@@ -151,7 +151,7 @@
       </td>

       <td class="worksheet_link">
-       <a title="{{ worksheet.name() | escape }}" id="name/{{ name }}"
class="worksheetname" target="_blank" href="/home/{{ name }}">
+       <a title="{{ worksheet.name() | escape }}" id="name/{{ name }}"
class="worksheetname" target="_self" href="/home/{{ name }}">
        {% if worksheet.compute_process_has_been_started() %}(running) {% endif 
%}
        {{ worksheet.truncated_name(35) | escape}}
        </a>
/home/wspage/sage-4.1.2

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to