[gnome-color-manager/gnome-3-2] Ensure the user can quit if the calibration fails



commit 0201875c2b23142f94771685f8278f9f77fe7d33
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 24 15:57:12 2012 +0000

    Ensure the user can quit if the calibration fails
    
    Note, we should catch the error before it comes to this, which I'll fix in a
    seporate commit.
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=670365

 src/gcm-calibrate-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 834e790..f349bf6 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -469,6 +469,7 @@ gcm_calib_start_idle_cb (gpointer user_data)
 		/* mark this box as the end */
 		vbox = gcm_calib_get_vbox_for_page (calib, GCM_CALIBRATE_PAGE_ACTION);
 		gtk_assistant_set_page_type (assistant, vbox, GTK_ASSISTANT_PAGE_SUMMARY);
+		gtk_assistant_set_page_complete (assistant, vbox, TRUE);
 		goto out;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]