2005-01-23 [colin] 1.0.0cvs9.1
[claws.git] / src / crash.c
index 04a1f53ce1ae48566348cec278ec695e9ea6984a..2e239afa83113333a029d50322da4be9ce0ba353 100644 (file)
@@ -48,6 +48,7 @@
 #ifdef SIGTERM
 #include "main.h"
 #endif
+#include "sylpheed.h"
 #include "intl.h"
 #include "crash.h"
 #include "utils.h"
@@ -213,7 +214,7 @@ static GtkWidget *crash_dialog_show(const gchar *text, const gchar *debug_output
        gtk_container_add(GTK_CONTAINER(frame1), scrolledwindow1);
        gtk_container_set_border_width(GTK_CONTAINER(scrolledwindow1), 3);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindow1),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
        text1 = gtk_text_new(NULL, NULL);
        gtk_text_set_editable((text1), FALSE);
@@ -296,7 +297,7 @@ static void crash_save_crash_log(GtkButton *button, const gchar *text)
        timer = time(NULL);
        lt = localtime(&timer);
        strftime(buf, sizeof buf, "sylpheed-crash-log-%Y-%m-%d-%H-%M-%S.txt", lt);
-       if (NULL != (filename = filesel_select_file(_("Save crash information"), buf))
+       if (NULL != (filename = filesel_select_file_save(_("Save crash information"), buf))
        &&  *filename)
                str_write_to_file(text, filename);
        g_free(filename);       
@@ -411,9 +412,6 @@ static const gchar *get_compiled_in_features(void)
 #if HAVE_LIBJCONV
                   " libjconv"
 #endif
-#if USE_GPGME
-                  " GPGME"
-#endif
 #if USE_OPENSSL
                   " OpenSSL"
 #endif