]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/libsmooth/main.c
pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / libsmooth / main.c
index 1d2a5002e5e3090f0d2f5cb08431dd7b8f7beb19..fedff109d5d85801a59836a7ad2d4c83b911ae38 100644 (file)
@@ -90,6 +90,16 @@ int runhiddencommandwithstatus(const char *command, const char* title, const cha
        return rc;
 }
 
+int splashWindow(const char* title, const char* message, unsigned int timeout) {
+       statuswindow(60, 4, title, message);
+
+       // Wait so the user can read this message
+       sleep(timeout);
+       newtPopWindow();
+
+       return 0;
+}
+
 /* This one borrowed from redhat installer. */
 int runcommandwithprogress(int width, int height, const char *title, const char *command,
        int lines, char *text, ...) {