[gnome-color-manager] trivial: don't duplicate a page type in gcm-calibrate
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: don't duplicate a page type in gcm-calibrate
- Date: Tue, 28 Jun 2011 20:53:41 +0000 (UTC)
commit a8d5f473c74727b94ff01a5778897874d0a8364f
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 28 21:38:35 2011 +0100
trivial: don't duplicate a page type in gcm-calibrate
src/gcm-calibrate-main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 1f610cb..adb2b9c 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -44,6 +44,7 @@ typedef enum {
GCM_CALIBRATE_PAGE_DISPLAY_CONFIG,
GCM_CALIBRATE_PAGE_INSTALL_ARGYLLCMS,
GCM_CALIBRATE_PAGE_INSTALL_TARGETS,
+ GCM_CALIBRATE_PAGE_PRECISION,
GCM_CALIBRATE_PAGE_PRINT_KIND,
GCM_CALIBRATE_PAGE_TARGET_KIND,
GCM_CALIBRATE_PAGE_SENSOR,
@@ -517,7 +518,6 @@ gcm_calib_assistant_page_forward_cb (gint current_page, gpointer user_data)
vbox = gcm_calib_get_vbox_for_page (calib,
GCM_CALIBRATE_PAGE_ACTION);
-
gtk_assistant_set_page_complete (GTK_ASSISTANT (calib->main_window),
vbox, FALSE);
return current_page;
@@ -1586,7 +1586,7 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *calib)
g_ptr_array_add (calib->pages, vbox);
g_object_set_data (G_OBJECT (vbox),
"GcmCalibrateMain::Index",
- GUINT_TO_POINTER (GCM_CALIBRATE_PAGE_DISPLAY_KIND));
+ GUINT_TO_POINTER (GCM_CALIBRATE_PAGE_PRECISION));
g_strfreev (labels);
/* show page */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]