зеркало из https://github.com/github/putty.git
Try to delete jump lists in "-cleanup".
[originally from svn r9050]
This commit is contained in:
Родитель
301d30c68e
Коммит
ed80dcc3cf
|
@ -663,7 +663,7 @@ static void update_jumplist_from_registry(void)
|
|||
}
|
||||
|
||||
/* Clears the entire jumplist. */
|
||||
static void clear_jumplist(void)
|
||||
void clear_jumplist(void)
|
||||
{
|
||||
ICustomDestinationList *pCDL;
|
||||
UINT num_items;
|
||||
|
|
|
@ -5,3 +5,4 @@
|
|||
|
||||
void add_session_to_jumplist(const char * const sessionname) {}
|
||||
void remove_session_from_jumplist(const char * const sessionname) {}
|
||||
void clear_jumplist(void) {}
|
||||
|
|
|
@ -779,6 +779,12 @@ void cleanup_all(void)
|
|||
*/
|
||||
access_random_seed(DEL);
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Ask Windows to delete any jump list information associated
|
||||
* with this installation of PuTTY.
|
||||
*/
|
||||
clear_jumplist();
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Destroy all registry information associated with PuTTY.
|
||||
*/
|
||||
|
|
|
@ -514,6 +514,7 @@ extern Backend serial_backend;
|
|||
#define JUMPLIST_SUPPORTED /* suppress #defines in putty.h */
|
||||
void add_session_to_jumplist(const char * const sessionname);
|
||||
void remove_session_from_jumplist(const char * const sessionname);
|
||||
void clear_jumplist(void);
|
||||
|
||||
/*
|
||||
* Extra functions in winstore.c over and above the interface in
|
||||
|
|
Загрузка…
Ссылка в новой задаче