Integrate static packaing into the CVS HEAD; make it even default.
[captive.git] / src / install / acquire / main.c
index 2ebc479..23e9421 100644 (file)
@@ -42,6 +42,7 @@
 #include "ui-gnome.h"
 
 #include <captive/macros.h>
+#include <captive/client.h>
 
 
 int optarg_verbose;
@@ -199,10 +200,7 @@ gboolean no_gnome;
                        ));
 #endif
 
-       /* Initialize the i18n stuff */
-       setlocale(LC_ALL,"");
-       bindtextdomain(PACKAGE,LOCALEDIR);
-       textdomain(PACKAGE);
+       captive_standalone_init();
 
        if (!gnome_vfs_init())
                g_error(_("GnomeVFS failed to initialize"));
@@ -242,6 +240,7 @@ gboolean no_gnome;
 GnomeProgram *gnome_program;
 guint handler_id;
 
+               captive_standalone_gnome_init();
                gnome_init_atexit_disable=FALSE;
                g_atexit(gnome_init_atexit_handler);
                gnome_init_g_log_handler_hit=FALSE;