[gnome-color-manager] Set the calibration wizard to the summary page when the calibration has finished
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Set the calibration wizard to the summary page when the calibration has finished
- Date: Tue, 30 Aug 2011 17:13:15 +0000 (UTC)
commit ae6964124671db99c67d227b5fd68a42409fa827
Author: Richard Hughes <richard hughsie com>
Date: Tue Aug 30 18:13:01 2011 +0100
Set the calibration wizard to the summary page when the calibration has finished
src/gcm-calibrate-main.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index da121ac..a888b74 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -494,6 +494,15 @@ gcm_calib_start_idle_cb (gpointer user_data)
/* remove temporary file */
g_unlink (filename);
+ /* allow forward */
+ vbox = gcm_calib_get_vbox_for_page (calib,
+ GCM_CALIBRATE_PAGE_ACTION);
+ gtk_assistant_set_page_complete (assistant,
+ vbox, TRUE);
+
+ /* set to summary page */
+ gtk_assistant_set_current_page (assistant,
+ gtk_assistant_get_n_pages (assistant) - 1);
out:
if (profile != NULL)
g_object_unref (profile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]