From ac29afba0d4233e840bbece9e97bc247458befb1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 30 Oct 2001 22:16:43 +0000 Subject: Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback): * main.c (development_warning): Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback): Removed. svn path=/trunk/; revision=14490 --- shell/ChangeLog | 6 ++++++ shell/main.c | 58 --------------------------------------------------------- 2 files changed, 6 insertions(+), 58 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 31cfcf1607..78870b7c9a 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-10-30 Ettore Perazzoli + + * main.c (development_warning): Removed. + (idle_cb): Don't call it. + (warning_dialog_clicked_callback): Removed. + 2001-10-30 Iain Holmes * e-shell-view.c (e_shell_view_load_settings): If the display uri is diff --git a/shell/main.c b/shell/main.c index 69d8ba9cd6..06aefd84cc 100644 --- a/shell/main.c +++ b/shell/main.c @@ -172,60 +172,6 @@ destroy_cb (GtkObject *object, gpointer data) gtk_main_quit (); } - -static void -warning_dialog_clicked_callback (GnomeDialog *dialog, - int button_number, - void *data) -{ - gtk_widget_destroy (GTK_WIDGET (dialog)); -} - -static void -development_warning (void) -{ - GtkWidget *label, *warning_dialog; - - warning_dialog = gnome_dialog_new ("Ximian Evolution " VERSION, GNOME_STOCK_BUTTON_OK, NULL); - - label = gtk_label_new ( - /* xgettext:no-c-format */ - _("Hi. Thanks for taking the time to download this preview release\n" - "of the Ximian Evolution groupware suite.\n" - "\n" - "Ximian Evolution is not yet complete. It's getting close, but there are\n" - "places where features are either missing or only half working. \n" - "\n" - "If you find bugs, please report them to us at bugzilla.ximian.com.\n" - "This product comes with no warranty and is not intended for\n" - "individuals prone to violent fits of anger.\n" - "\n" - "We hope that you enjoy the results of our hard work, and we\n" - "eagerly await your contributions!\n" - )); - gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); - gtk_widget_show (label); - - gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox), - label, TRUE, TRUE, 4); - - label = gtk_label_new ( - _( - "Thanks\n" - "The Ximian Evolution Team\n" - )); - gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); - gtk_misc_set_alignment(GTK_MISC(label), 1, .5); - gtk_widget_show (label); - - gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox), - label, TRUE, TRUE, 0); - - gtk_widget_show (warning_dialog); - gtk_signal_connect (GTK_OBJECT (warning_dialog), "clicked", - GTK_SIGNAL_FUNC (warning_dialog_clicked_callback), NULL); -} - /* This is for doing stuff that requires the GTK+ loop to be running already. */ @@ -253,10 +199,6 @@ idle_cb (void *data) GTK_SIGNAL_FUNC (no_views_left_cb), NULL); gtk_signal_connect (GTK_OBJECT (shell), "destroy", GTK_SIGNAL_FUNC (destroy_cb), NULL); - - if (!getenv ("EVOLVE_ME_HARDER")) - development_warning (); - corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell)); corba_shell = CORBA_Object_duplicate (corba_shell, &ev); break; -- cgit v1.2.3