Tk Library Source Code

View Ticket
Login
Ticket UUID: 929727
Title: BWidget notebook page name bug
Type: Bug Version: None
Submitter: nobody Created on: 2004-04-05 12:53:19
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-15 04:34:42
Resolution: Invalid Closed By: hobbs
    Closed on: 2004-09-14 21:34:42
Description:
BWidget notebook page name retrieval uses wrong index.
Here is the diff that I made:

diff notebook.tcl BWidget-1.7.0/notebook.tcl 
336c336
<       append script " \[NoteBook::_get_page_name [list $path] current 1\]"
---
>       append script " \[NoteBook::_get_page_name [list $path] current 2\]"
User Comments: hobbs added on 2004-09-15 04:34:42:
Logged In: YES 
user_id=72656

Looking at the code for the head, the '1' appears to be the
correct value, as that will extract, eg, "p:2" and give us
"2" as the page identifier.