From 0bfae7d16b83458d64b0957fd5e88bc54a131b2a Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 7 Mar 2000 18:38:08 +0000 Subject: added a warning so that the user knows that this version may crash his 2000-03-07 bertrand * folder-browser-factory.c (development_warning): added a warning so that the user knows that this version may crash his mails. svn path=/trunk/; revision=2078 --- mail/ChangeLog | 6 ++++++ mail/folder-browser-factory.c | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 7f1d86c372..053f1b1d24 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-03-07 bertrand + + * folder-browser-factory.c (development_warning): + added a warning so that the user knows that this + version may crash his mails. + 2000-03-05 bertrand * message-list.h: include a referrence to the parent diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 9c22bfc2a8..638ebdcaaf 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -32,15 +32,15 @@ development_warning () GtkWidget *label, *warning_dialog; warning_dialog = gnome_dialog_new ("Don't do that", - "I know what I'm doing", + "I know what I'm doing,\nI want to crash my mail files", "I'll try it later", NULL); label = gtk_label_new ("This is a developement version of Evolution.\n " "Using the mail component on your mail files\n " - "is extremely hazardous. It could destroy all your\n" - "mails. Please backup all your mails before trying\n " - "this program. You have been warned\n"); + "is extremely hazardous.\n" + "Please backup all your mails before trying\n " + "this program. \n You have been warned\n"); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox), @@ -48,8 +48,8 @@ development_warning () result = gnome_dialog_run (GNOME_DIALOG (warning_dialog)); - gtk_object_unref (GTK_OBJECT (label)); - gtk_object_unref (GTK_OBJECT (warning_dialog)); + gtk_object_destroy (GTK_OBJECT (label)); + gtk_object_destroy (GTK_OBJECT (warning_dialog)); return result; -- cgit v1.2.3