diff src/audacious/main.c @ 4664:46c02b5589c2

commited initial version of new UI, which can be tested via "audacious -H"
author mf0102 <0102@gmx.at>
date Sun, 29 Jun 2008 01:27:24 +0200
parents 8a783f826316
children 2079f04c19e2
line wrap: on
line diff
--- a/src/audacious/main.c	Sun Jun 29 00:41:11 2008 +0300
+++ b/src/audacious/main.c	Sun Jun 29 01:27:24 2008 +0200
@@ -89,6 +89,11 @@
 #include "icons-stock.h"
 #include "images/audacious_player.xpm"
 
+
+#include "ui_new.h"
+
+
+
 static const gchar *application_name = N_("Audacious");
 
 struct _AudCmdLineOpt {
@@ -818,11 +823,17 @@
     // if we are running headless
     else
     {
+        /* temporarily headless operation is disabled in favour of
+         * testing the new UI */
+        ui_initialize();
+
+#if 0
         g_print(_("Headless operation enabled\n"));
         resume_playback_on_startup();
 
         g_timeout_add(10, aud_headless_iteration, NULL);
         g_main_loop_run(g_main_loop_new(NULL, TRUE));
+#endif
     }
 
     aud_quit();