summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdebase/ksplashml.patch
blob: 5d3ca0cf708a31028da15b9a2020063d1d06fbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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))