Show app name in Kill Application dialog
commitbe08535ab4dda07a6307d37a9abddb0a48dd1b97
authorGilbert Ashley <amigo@ibiblio.org>
Wed, 26 Nov 2008 15:27:19 +0000 (26 16:27 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 27 Aug 2009 14:35:42 +0000 (27 16:35 +0200)
tree7c7fd3c15f0f80ae2595d617293e82fd27de5ff8
parent108127f0b54205035b24b740b454eabaa397bd7c
Show app name in Kill Application dialog

The "Kill Application" dialog window doesn't always show the
application name when killing DockApps. It shows its wm_class
instead, which is not always the same as the app name.

This patch allows the Kill Application dialog window to show
the application name in the window -- as expressed by using the
basename of the path to the application.

[crmafra: Added wtokensplit() to get only the app name]
src/appicon.c
src/dock.c