Package: kiosktool
Severity: important
Version: 1.0-1.1
Tags: patch

Hello,

Debian's KDE moves /etc/xdg/menus/applications.menu 
to /etc/xdg/kde-applications.menu starting with KDE 3.4. This means that 
kiosktool must be patched to find this file. The attached patch does this.

Please document the change in the changelog and README.Debian, so that users 
understand the change, and will understand why if they upgrade from Sarge's 
KDE 3.3 (which still uses /etc/xdg/menus/applications.menu) that their 
settings seem to go, etc.

The patch is borrowed from Ubuntu.

Thanks,
Christopher Martin
--- kiosktool.orig/kiosktool/menueditComponent.cpp
+++ kiosktool.patched/kiosktool/menueditComponent.cpp
@@ -104,8 +104,8 @@
 {
    bool result;
    QString menuEditFile = KioskRun::self()->locateLocal("xdgconf-menu", "applications-kmenuedit.menu");
-   QString menuFile = KioskRun::self()->locate("xdgconf-menu", "applications.menu");
-   QString menuFileSave = KioskRun::self()->locateSave("xdgconf-menu", "applications.menu");
+   QString menuFile = KioskRun::self()->locate("xdgconf-menu", "kde-applications.menu");
+   QString menuFileSave = KioskRun::self()->locateSave("xdgconf-menu", "kde-applications.menu");
 
    kdDebug() << "MenuEditComponent: menuEditFile = " << menuEditFile << endl;
    kdDebug() << "MenuEditComponent: menuFile = " << menuFile << endl;

Reply via email to