From bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 24 Aug 2001 23:07:22 +0000 Subject: Remove the stupid "do you want me to initialize stuff?" dialog. * e-setup.c (copy_default_stuff): Remove the stupid "do you want me to initialize stuff?" dialog. svn path=/trunk/; revision=12465 --- shell/e-setup.c | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'shell/e-setup.c') diff --git a/shell/e-setup.c b/shell/e-setup.c index 4c31b6b1cb..9ca5bc35da 100644 --- a/shell/e-setup.c +++ b/shell/e-setup.c @@ -184,37 +184,10 @@ check_evolution_directory (const char *evolution_directory) static gboolean copy_default_stuff (const char *evolution_directory) { - GtkWidget *dialog; - GtkWidget *label1; - GtkWidget *label2; - GtkWidget *label3; gboolean retval; char *command; - int result; char *old_default_shortcuts_file; - dialog = gnome_dialog_new (_("Evolution installation"), - GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL, - NULL); - - label1 = gtk_label_new (_("This seems to be the first time you are running Evolution.")); - label2 = gtk_label_new (_("Please click \"OK\" to install the Evolution user files under")); - label3 = gtk_label_new (evolution_directory); - - gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label1, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label2, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label3, TRUE, TRUE, 0); - - gtk_widget_show (label1); - gtk_widget_show (label2); - gtk_widget_show (label3); - - gtk_window_set_policy (GTK_WINDOW (dialog), FALSE, TRUE, FALSE); - - result = gnome_dialog_run_and_close (GNOME_DIALOG (dialog)); - if (result != 0) - return FALSE; - if (mkdir (evolution_directory, 0700)) { e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("Cannot create the directory\n%s\nError: %s"), -- cgit v1.2.3