Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 79200 | Differences between
and this patch

Collapse All | Expand All

(-)evolution-2.0.3-old/shell/e-shell-startup-wizard.c (-16 / +13 lines)
Lines 552-558 Link Here
552
		       GnomeDruid *druid,
552
		       GnomeDruid *druid,
553
		       SWData *data)
553
		       SWData *data)
554
{
554
{
555
	GtkWidget *dialog;
555
	GtkWidget *dialog, *import_label;
556
	ImportDialogPage *import;
556
	ImportDialogPage *import;
557
	GList *l, *importers;
557
	GList *l, *importers;
558
	GtkWidget *table;
558
	GtkWidget *table;
Lines 566-586 Link Here
566
566
567
	data->import_page->prepared = TRUE;
567
	data->import_page->prepared = TRUE;
568
568
569
	dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO,
569
	/* Work around a dialog handling bug which throws the program into a 
570
					 GTK_BUTTONS_NONE,
570
	 * recursive loop (gtk_widget_show_all() would call gtk_dialog_run() 
571
					 _("Please wait...\nScanning for existing setups"));
571
	 * without a "response" handler, and without issuing a response signal
572
#if !GTK_CHECK_VERSION (2,4,0)
572
	 */
573
	gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
573
	dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
574
#endif
574
	import_label = gtk_label_new(_("Please wait...\nScanning for existing setups"));
575
	e_make_widget_backing_stored (dialog);
575
	gtk_container_add(GTK_CONTAINER(dialog),import_label); 
576
576
	gtk_window_set_title (GTK_WINDOW(dialog), _("Starting import"));
577
	gtk_window_set_title (GTK_WINDOW (dialog), _("Starting import"));
577
	if (gtk_major_version >= 2 && gtk_minor_version >= 4) 
578
	gtk_widget_show_all (dialog);
578
		gtk_window_set_keep_above(GTK_WINDOW(dialog),TRUE);
579
	gtk_widget_show_now (dialog);
579
	gtk_widget_show_all(dialog);
580
580
	
581
	gtk_widget_queue_draw (dialog);
582
	gdk_flush ();
583
584
	while (gtk_events_pending ()) {
581
	while (gtk_events_pending ()) {
585
		gtk_main_iteration ();
582
		gtk_main_iteration ();
586
	}
583
	}

Return to bug 79200