aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-08 02:38:08 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-08 02:38:08 +0800
commit0bfae7d16b83458d64b0957fd5e88bc54a131b2a (patch)
treefc8be0c0c943bddab43cdf8ffbec5a499e1e6815
parentc2a6758ac4bed7092dd4199fe47880f3a095d4df (diff)
downloadgsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar.gz
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar.bz2
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar.lz
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar.xz
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.tar.zst
gsoc2013-evolution-0bfae7d16b83458d64b0957fd5e88bc54a131b2a.zip
added a warning so that the user knows that this version may crash his
2000-03-07 bertrand <bertrand@helixcode.com> * 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
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser-factory.c12
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 <bertrand@helixcode.com>
+
+ * 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 <bertrand@helixcode.com>
* 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;