[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kinit
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2009-08-24 21:38:46
Message-ID: 1251149926.746530.23349.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1015209 by aacid:

Make klauncher replace %c in the Exec line by the correct translated Name entry when \
launching .kdesktop files with a full path acked by dfaure


 M  +2 -4      klauncher_main.cpp  


--- trunk/KDE/kdelibs/kinit/klauncher_main.cpp #1015208:1015209
@@ -61,14 +61,12 @@
    }
 #endif
 
-   KComponentData componentData("klauncher");
+   KComponentData componentData("klauncher", "kdelibs4");
+   KGlobal::locale();
 
    // WABA: Make sure not to enable session management.
    putenv(strdup("SESSION_MANAGER="));
 
-   // Allow the locale to initialize properly
-   KLocale::setMainCatalog("kdelibs4");
-
    // We need a QCoreApplication to get a DBus event loop
    QCoreApplication app(argc, argv);
    app.setApplicationName( componentData.componentName() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic