mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-22 13:35:03 -05:00
Try to delete jump lists in "-cleanup".
[originally from svn r9050]
This commit is contained in:
parent
301d30c68e
commit
ed80dcc3cf
@ -663,7 +663,7 @@ static void update_jumplist_from_registry(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Clears the entire jumplist. */
|
/* Clears the entire jumplist. */
|
||||||
static void clear_jumplist(void)
|
void clear_jumplist(void)
|
||||||
{
|
{
|
||||||
ICustomDestinationList *pCDL;
|
ICustomDestinationList *pCDL;
|
||||||
UINT num_items;
|
UINT num_items;
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
|
|
||||||
void add_session_to_jumplist(const char * const sessionname) {}
|
void add_session_to_jumplist(const char * const sessionname) {}
|
||||||
void remove_session_from_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);
|
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.
|
* Destroy all registry information associated with PuTTY.
|
||||||
*/
|
*/
|
||||||
|
@ -514,6 +514,7 @@ extern Backend serial_backend;
|
|||||||
#define JUMPLIST_SUPPORTED /* suppress #defines in putty.h */
|
#define JUMPLIST_SUPPORTED /* suppress #defines in putty.h */
|
||||||
void add_session_to_jumplist(const char * const sessionname);
|
void add_session_to_jumplist(const char * const sessionname);
|
||||||
void remove_session_from_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
|
* Extra functions in winstore.c over and above the interface in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user