1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Support for Windows 7 jump lists (right-click on a program's taskbar

icon, even if the program isn't running at the time, to be presented
with an application-defined collection of helpful links). The current
jump list is updated every time a saved session is loaded, and shows
the last few launchable saved sessions (i.e. not those like Default
Settings) that were loaded. Also, if Pageant or PuTTYgen or both is in
the same directory as the PuTTY binary, the jump list will present
links to launch those too.

Based on a patch sent last year by Daniel B. Roy, though it's barely
recognisable any more...

[originally from svn r9046]
This commit is contained in:
Simon Tatham
2010-12-23 17:32:28 +00:00
parent 6cd24c839d
commit 1a03fa9292
9 changed files with 962 additions and 11 deletions

View File

@ -507,6 +507,9 @@ void load_settings(char *section, Config * cfg)
sesskey = open_settings_r(section);
load_open_settings(sesskey, cfg);
close_settings_r(sesskey);
if (cfg_launchable(cfg))
add_session_to_jumplist(section);
}
void load_open_settings(void *sesskey, Config *cfg)