summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdebase/ksplashml.patch
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/tdebase/ksplashml.patch')
-rw-r--r--opensuse/core/tdebase/ksplashml.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/opensuse/core/tdebase/ksplashml.patch b/opensuse/core/tdebase/ksplashml.patch
new file mode 100644
index 000000000..5d3ca0cf7
--- /dev/null
+++ b/opensuse/core/tdebase/ksplashml.patch
@@ -0,0 +1,19 @@
+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))