You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
704 B
20 lines
704 B
14 years ago
|
Index: ksplashml/kcmksplash/installer.cpp
|
||
|
===================================================================
|
||
|
--- ksplashml/kcmksplash/installer.cpp.orig
|
||
|
+++ ksplashml/kcmksplash/installer.cpp
|
||
|
@@ -474,6 +474,14 @@ void SplashInstaller::slotTest()
|
||
|
KMessageBox::error(this,i18n("Unable to start ksplashsimple."));
|
||
|
return;
|
||
|
}
|
||
|
+ if( themeName.startsWith( "ksplashx-" ))
|
||
|
+ {
|
||
|
+ KProcess proc;
|
||
|
+ proc << "ksplashx" << themeName.mid( 9 ) << "--test";
|
||
|
+ if (!proc.start(KProcess::Block))
|
||
|
+ KMessageBox::error(this,i18n("Unable to start ksplashx."));
|
||
|
+ return;
|
||
|
+ }
|
||
|
KProcess proc;
|
||
|
proc << "ksplash" << "--test" << "--theme" << themeName;
|
||
|
if (!proc.start(KProcess::Block))
|