On Fri, Jul 1, 2016 at 5:40 AM, Mike Hodson <[email protected]> wrote:

>
> How can I get the Recent Files menu to stop telling me the name of a file,
> before its path?
>
​
You can't, as yet, although it would be easy to add a setting that changes
the behavior of g.​computeWindowTitle().  This would have the side effect
of changing the window title.

The actual code in rf.createRecentFilesMenuItems, where rf stands for
RecentFilesManager, a class in leoApp.py.  When I looked there I found code
that supports two settings:

@bool recent_files_group
@bool recent_files_group_always

The first creates a submenu for any file that appears in multiple
directories, the second always creates a submenu. I didn't know about
either setting ;-)

I prefer the first, as it highlights the recent files that appear in
multiple places.  The drawback is that the recent files menu itself doesn't
tell you where the file is if it appears in only one place, but you can
always just open the file and see.

Interestingly, the submenu shows the full path in the format you like.

Please try one of the settings above (documented in leoSettings.leo).  If
you still want to change the format we can always add yet another setting
that changes how g.computeWindowTitle works.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to