Opened 11 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 Changed 11 years ago by Andy Willis

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 Changed 11 years ago by Andy Willis

Committed revision r38.

comment:3 Changed 11 years ago by Andy Willis

Resolution: fixed
Status: newclosed

comment:4 Changed 7 years ago by Gregg Young

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