[issue10997] Duplicate entries in IDLE Recent Files menu item on OS X

2012-05-29 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 3108331c88ec by Ned Deily in branch '2.7':
Issue #10997: Prevent a duplicate entry in IDLE's Recent Files menu.
http://hg.python.org/cpython/rev/3108331c88ec

New changeset 64a7fae544a6 by Ned Deily in branch '3.2':
Issue #10997: Prevent a duplicate entry in IDLE's Recent Files menu.
http://hg.python.org/cpython/rev/64a7fae544a6

New changeset cb7421cdaec4 by Ned Deily in branch 'default':
Issue #10997: merge from 3.2
http://hg.python.org/cpython/rev/cb7421cdaec4

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10997
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10997] Duplicate entries in IDLE Recent Files menu item on OS X

2012-05-29 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

Patch applied for 2.7.4, 3.2.4, and 3.3.0.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10997
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10997] Duplicate entries in IDLE Recent Files menu item on OS X

2011-01-24 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

When IDLE is run with an OS X Aqua Tk (Carbon 8.4 or Cocoa 8.5), using the File 
- Recent Files menu item to open a previously used file causes that file to 
show up a second time in the updated menu item and with the same keyboard 
shortcut.  With X11-based Tk on OS X, no duplicate is seen.  The problem stems 
from a difference in the way the Tk versions generate sub menus.  With the X11 
Tk the sub menu appears to start with a separator in menu index 0 and the first 
file is added in index 1.  With Aqua Tk, there is no separator and the first 
file is in index 0.  The code in IDLE to update the menu deletes from 1 to END 
so, with Aqua Tk, the file name inserted into index 0 is not removed.  The 
attached patch fixes the problem with Aqua Tk and appears to cause no problems 
with a current X11 Tk 8.5 on OS X.  Before committing it, though, it should be 
tested on Windows, which I'm not currently set up to do.

--
assignee: ned.deily
files: issue_idle_dup_recent.patch
keywords: patch
messages: 126941
nosy: ned.deily
priority: normal
severity: normal
status: open
title: Duplicate entries in IDLE Recent Files menu item on OS X
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file20504/issue_idle_dup_recent.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10997
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10997] Duplicate entries in IDLE Recent Files menu item on OS X

2011-01-24 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10997
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10997] Duplicate entries in IDLE Recent Files menu item on OS X

2011-01-24 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +kbk

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10997
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com