aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser-factory.c19
2 files changed, 16 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 448f3c327d..14c6e1598c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-14 Dan Winship <danw@helixcode.com>
+
+ * folder-browser-factory.c (development_warning): Fix up the
+ warning message a bit.
+ (folder_browser_factory): Make the warning bypassable.
+
2000-04-12 Miguel de Icaza <miguel@gnu.org>
* main.c (main): Call e_cursors_init.
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index a6075f7858..57b452a286 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -75,16 +75,17 @@ development_warning ()
warning_dialog = gnome_dialog_new (
"Don't do that",
- "I know what I'm doing,\nI want to crash my mail files",
+ "I know what I'm doing,\nI want to lose mail!",
"I'll try it later",
NULL);
label = gtk_label_new (
- _("This is a development version of Evolution.\n "
- "Using the mail component on your mail files\n "
- "is extremely hazardous.\n"
- "Please backup all your mails before trying\n "
- "this program. \n You have been warned\n"));
+ _("This is a development version of Evolution.\n"
+ "Using the mail component on your mail files\n"
+ "is extremely hazardous.\n\n"
+ "Do not run this program on your real mail\n "
+ "and do not give it access to your real mail server.\n\n"
+ "You have been warned\n"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox),
@@ -139,7 +140,6 @@ random_cb (GtkWidget *button, gpointer user_data)
printf ("Yow! I am called back!\n");
}
-
static void
control_activate (BonoboControl *control, BonoboUIHandler *uih)
{
@@ -244,10 +244,11 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
{
BonoboControl *control;
GtkWidget *folder_browser;
- gint warning_result;
+ gint warning_result = 0;
- warning_result = development_warning ();
+ if (!getenv ("EVOLVE_ME_HARDER"))
+ warning_result = development_warning ();
if (warning_result)
folder_browser = gtk_label_new ("This should be the mail component");
0-201-4/+0 * Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.tijl2014-09-171-1/+1 * lang/guile:tijl2014-08-311-1/+1 * Rename all patches that contain '::' as a path separator, and useadamw2014-07-301-0/+0 * Fix build on system built WITHOUT_INFObapt2014-06-251-1/+1 * - Switch to USES=libtool, drop .la filesamdmi32014-05-312-12/+5 * Chase libmad changesbapt2014-02-051-1/+1 * Stage supportantoine2013-12-291-2/+1 * In preparation for making libtool generate libraries with a sane name, fix allbapt2013-12-111-4/+4 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1 * Add an explicit dependency on pkgconfbapt2013-09-031-1/+1 * Convert audio from USE_GMAKE to USES=gmakebapt2013-08-311-2/+1 * - Convert USE_GETTEXT to USES (part 1)ak2013-04-241-2/+1 * Mechanically convert unmaintained ports which use "gnomehack" to use "pathfix...eadler2013-03-281-1/+2 * - Trim the Makefile header per recently adopted guidelinesdanfe2013-02-261-19/+12 * libogg.so.8: Bump PORTREVISION for ports that depend on libogg,naddy2012-07-201-1/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * Update lame to 3.99.3.netchild2012-01-151-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-4/+3 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-121-1/+1 * - Chase guile shared lib bumpjlaffaye2011-07-311-2/+2 * - Get Rid MD5 supportmiwi2011-03-191-1/+0