[Pkg-kde-bugs-fwd] [Bug 97087] kdeinit problem launching programs in /usr/games
Waldo Bastian
97087@bugs.kde.org
18 Jan 2005 21:30:03 -0000
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are a voter for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=97087
bastian kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From bastian kde org 2005-01-18 22:30 -------
CVS commit by waba:
Strip directory when determining DCOP name from Exec line.
BUG: 97087
M +4 -0 klauncher.cpp 1.103
--- kdelibs/kinit/klauncher.cpp #1.102:1.103
@ -997,5 +997,9 @ KLauncher::start_service(KService::Ptr s
request->dcop_name = v.toString().utf8();
if (request->dcop_name.isEmpty())
+ {
request->dcop_name = request->name;
+ // Strip directory
+ request->dcop_name = request->dcop_name.mid(request->dcop_name.findRev('/')+1);
+ }
}