Opened 12 years ago

Closed 11 years ago

Last modified 7 years ago

#6 closed enhancement (fixed)

accelerator keys for process kill?

Reported by: Andy Willis Owned by: somebody
Priority: minor Milestone: 2.81
Component: standalone Version:
Keywords: Cc:

Description

Considering adding the ability to easily choose DosKillProcess or Sigkill via keyboard when choosing to kill a process via Ctrl-MB1 Click on the desktop icon of the taskbar. Currently it is possible to use the arrow keys and hit Enter but considering allowing D or S respectively to be used.

Change History (4)

comment:1 by Andy Willis, 12 years ago

It is a simple modification, the question is more of whether it could cause problems for some people:

Index: taskbar.c
===================================================================
--- taskbar.c	(revision 15)
+++ taskbar.c	(working copy)
@@ -418,10 +418,10 @@
         MB2INFO *pmbInfo;
         BOOL bDeathBtn=XF86Installed();
 #ifdef __WATCOMC__
-        MB2D mb2dBut[3]={{"DosKillProcess",0,501,BS_PUSHBUTTON},{"SIGKILL",0,502,BS_PUSHBUTTON},
+        MB2D mb2dBut[3]={{"~DosKillProcess",0,501,BS_PUSHBUTTON},{"~SIGKILL",0,502,BS_PUSHBUTTON},
         {"",0,503, BS_PUSHBUTTON|BS_DEFAULT}};
 #else
-        MB2D mb2dBut[3]={{"DosKillProcess",501,BS_PUSHBUTTON},{"SIGKILL",502,BS_PUSHBUTTON},
+        MB2D mb2dBut[3]={{"~DosKillProcess",501,BS_PUSHBUTTON},{"~SIGKILL",502,BS_PUSHBUTTON},
         {"",503, BS_PUSHBUTTON|BS_DEFAULT}};
 #endif
 

comment:2 by Andy Willis, 11 years ago

Committed revision r38.

comment:3 by Andy Willis, 11 years ago

Resolution: fixed
Status: newclosed

comment:4 by Gregg Young, 7 years ago

Milestone: 2.81
Note: See TracTickets for help on using tickets.