"fix" crash dialog (other problems appear)
authorColin Leroy <colin@colino.net>
Tue, 10 Dec 2002 11:16:24 +0000 (11:16 +0000)
committerColin Leroy <colin@colino.net>
Tue, 10 Dec 2002 11:16:24 +0000 (11:16 +0000)
ChangeLog.claws
configure.in
src/main.c

index 53b96dc..c8dba6e 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-10 [colin]     0.8.6claws93
+
+       * src/main.c
+               "Fix" "sylpheed already running" instead of
+               crash dialog appearing after a crash
+
 2002-12-10 [colin]     0.8.6claws92
 
        * po/POTFILES.in
index 86e0868..f3f94f7 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws92
+EXTRA_VERSION=claws93
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 95d1199..9b65567 100644 (file)
@@ -176,6 +176,14 @@ int main(int argc, char *argv[])
 
        parse_cmd_opt(argc, argv);
 
+#ifdef CRASH_DIALOG
+       if (cmd.crash) {
+               crash_main(cmd.crash_params);
+               return 0;
+       }
+       crash_install_handlers();
+#endif
+
        /* check and create unix domain socket */
        lock_socket = prohibit_duplicate_launch();
        if (lock_socket < 0) return 0;
@@ -188,14 +196,6 @@ int main(int argc, char *argv[])
        gtk_set_locale();
        gtk_init(&argc, &argv);
 
-#ifdef CRASH_DIALOG
-       if (cmd.crash) {
-               crash_main(cmd.crash_params);
-               return 0;
-       }
-       crash_install_handlers();
-#endif
-
 #if USE_THREADS || USE_LDAP
        g_thread_init(NULL);
        if (!g_thread_supported())