diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-25 07:07:22 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-25 07:07:22 +0800 |
commit | bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a (patch) | |
tree | 30497e9e45209ed4508106e2f02a2fa40e7306ab | |
parent | 5629ff7a92c2975872cbdc9b3a1fdd2f619de3e5 (diff) | |
download | gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar.gz gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar.bz2 gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar.lz gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar.xz gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.tar.zst gsoc2013-evolution-bcb7c5c83e5f44116c3b97f2f8c7b2874e27c50a.zip |
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
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-setup.c | 27 |
2 files changed, 5 insertions, 27 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 560fbd5db0..145ea87c46 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2001-08-24 Ettore Perazzoli <ettore@ximian.com> + * e-setup.c (copy_default_stuff): Remove the stupid "do you want + me to initialize stuff?" dialog. + +2001-08-24 Ettore Perazzoli <ettore@ximian.com> + * e-storage-set-view.c: Change the `selected_row_path' to be non-const. (destroy): Free it. 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"), |