[gnome-color-manager] Update the Free Software Foundation address
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Update the Free Software Foundation address
- Date: Wed, 27 Jan 2010 16:28:12 +0000 (UTC)
commit eb161b3497e4c2fc5d7a160a1fb723611fd094fd
Author: Richard Hughes <richard hughsie com>
Date: Wed Jan 27 16:27:47 2010 +0000
Update the Free Software Foundation address
src/egg-debug.c | 2 +-
src/egg-debug.h | 2 +-
src/egg-test.c | 2 +-
src/egg-test.h | 2 +-
src/gcm-apply.c | 2 +-
src/gcm-brightness.c | 2 +-
src/gcm-brightness.h | 2 +-
src/gcm-calibrate-argyll.c | 243 ++++++++++++++++++++++++++++-------------
src/gcm-calibrate-argyll.h | 2 +-
src/gcm-calibrate-manual.c | 2 +-
src/gcm-calibrate-manual.h | 2 +-
src/gcm-calibrate.c | 2 +-
src/gcm-calibrate.h | 2 +-
src/gcm-cie-widget.c | 2 +-
src/gcm-cie-widget.h | 2 +-
src/gcm-client.c | 2 +-
src/gcm-client.h | 2 +-
src/gcm-clut.c | 2 +-
src/gcm-clut.h | 2 +-
src/gcm-color-device.c | 2 +-
src/gcm-color-device.h | 2 +-
src/gcm-dbus.c | 2 +-
src/gcm-dbus.h | 2 +-
src/gcm-device.c | 2 +-
src/gcm-device.h | 2 +-
src/gcm-dmi.c | 2 +-
src/gcm-dmi.h | 2 +-
src/gcm-dump-edid.c | 2 +-
src/gcm-dump-profile.c | 2 +-
src/gcm-edid.c | 2 +-
src/gcm-edid.h | 2 +-
src/gcm-enum.c | 2 +-
src/gcm-enum.h | 2 +-
src/gcm-fix-profile.c | 2 +-
src/gcm-gamma-widget.c | 2 +-
src/gcm-gamma-widget.h | 2 +-
src/gcm-image.c | 2 +-
src/gcm-image.h | 2 +-
src/gcm-import.c | 2 +-
src/gcm-inspect.c | 2 +-
src/gcm-install-system-wide.c | 2 +-
src/gcm-prefs.c | 2 +-
src/gcm-profile-lcms1.c | 2 +-
src/gcm-profile-lcms1.h | 2 +-
src/gcm-profile-store.c | 2 +-
src/gcm-profile-store.h | 2 +-
src/gcm-profile.c | 2 +-
src/gcm-profile.h | 2 +-
src/gcm-screen.c | 2 +-
src/gcm-screen.h | 2 +-
src/gcm-self-test.c | 2 +-
src/gcm-session.c | 2 +-
src/gcm-tables.c | 2 +-
src/gcm-tables.h | 2 +-
src/gcm-trc-widget.c | 2 +-
src/gcm-trc-widget.h | 2 +-
src/gcm-utils.c | 2 +-
src/gcm-utils.h | 2 +-
src/gcm-xserver.c | 2 +-
src/gcm-xserver.h | 2 +-
src/gcm-xyz.c | 2 +-
src/gcm-xyz.h | 2 +-
62 files changed, 227 insertions(+), 138 deletions(-)
---
diff --git a/src/egg-debug.c b/src/egg-debug.c
index f734ee2..64655a2 100644
--- a/src/egg-debug.c
+++ b/src/egg-debug.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/egg-debug.h b/src/egg-debug.h
index ac6728b..dcafaca 100644
--- a/src/egg-debug.h
+++ b/src/egg-debug.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __EGG_DEBUG_H
diff --git a/src/egg-test.c b/src/egg-test.c
index ef4eef3..1f62d64 100644
--- a/src/egg-test.c
+++ b/src/egg-test.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdlib.h>
diff --git a/src/egg-test.h b/src/egg-test.h
index ea4b94b..1b05092 100644
--- a/src/egg-test.h
+++ b/src/egg-test.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __EGG_TEST_H
diff --git a/src/gcm-apply.c b/src/gcm-apply.c
index 5c20ecb..ec88bce 100644
--- a/src/gcm-apply.c
+++ b/src/gcm-apply.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-brightness.c b/src/gcm-brightness.c
index 7d23fa8..672ed40 100644
--- a/src/gcm-brightness.c
+++ b/src/gcm-brightness.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-brightness.h b/src/gcm-brightness.h
index 0c98236..6e86da1 100644
--- a/src/gcm-brightness.h
+++ b/src/gcm-brightness.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_BRIGHTNESS_H
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index 74d7b05..acab40c 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
- * Copyright (C) 2009 Richard Hughes <richard hughsie com>
+ * Copyright (C) 2009-2010 Richard Hughes <richard hughsie com>
*
* Licensed under the GNU General Public License Version 2
*
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
@@ -55,6 +55,14 @@ typedef enum {
GCM_CALIBRATE_ARGYLL_PRECISION_LAST
} GcmCalibrateArgyllPrecision;
+typedef enum {
+ GCM_CALIBRATE_ARGYLL_STATE_IDLE,
+ GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN,
+ GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_LOOP,
+ GCM_CALIBRATE_ARGYLL_STATE_RUNNING,
+ GCM_CALIBRATE_ARGYLL_STATE_LAST
+} GcmCalibrateArgyllState;
+
/**
* GcmCalibrateArgyllPrivate:
*
@@ -66,7 +74,6 @@ struct _GcmCalibrateArgyllPrivate
GConfClient *gconf_client;
GcmCalibrateArgyllPrecision precision;
GMainLoop *loop;
- GMainLoop *loop_ui;
GtkWidget *terminal;
GtkBuilder *builder;
pid_t child_pid;
@@ -74,9 +81,10 @@ struct _GcmCalibrateArgyllPrivate
GcmScreen *screen;
glong vte_previous_row;
glong vte_previous_col;
- gchar *cached_title;
- gchar *cached_message;
+ GPtrArray *cached_titles;
+ GPtrArray *cached_messages;
gboolean already_on_window;
+ GcmCalibrateArgyllState state;
};
enum {
@@ -205,49 +213,60 @@ gcm_calibrate_argyll_get_display_type (GcmCalibrateArgyll *calibrate_argyll)
}
/**
- * gcm_calibrate_argyll_set_title:
+ * gcm_calibrate_argyll_set_dialog:
**/
static void
-gcm_calibrate_argyll_set_title (GcmCalibrateArgyll *calibrate_argyll, const gchar *title)
+gcm_calibrate_argyll_set_dialog (GcmCalibrateArgyll *calibrate_argyll, const gchar *title, const gchar *message)
{
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
GtkWidget *widget;
gchar *text;
/* save in case we need to reuse */
- if (title != priv->cached_title) {
- g_free (priv->cached_title);
- priv->cached_title = g_strdup (title);
- }
+ g_ptr_array_add (priv->cached_titles, g_strdup (title));
+ g_ptr_array_add (priv->cached_messages, g_strdup (message));
/* set the text */
text = g_strdup_printf ("<big><b>%s</b></big>", title);
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_title"));
gtk_label_set_markup (GTK_LABEL(widget), text);
g_free (text);
+
+ /* set the text */
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_message"));
+ gtk_label_set_markup (GTK_LABEL(widget), message);
}
/**
- * gcm_calibrate_argyll_set_message:
+ * gcm_calibrate_argyll_pop_dialog:
**/
static void
-gcm_calibrate_argyll_set_message (GcmCalibrateArgyll *calibrate_argyll, const gchar *title)
+gcm_calibrate_argyll_pop_dialog (GcmCalibrateArgyll *calibrate_argyll)
{
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
GtkWidget *widget;
- gchar *text;
+ const gchar *title;
+ const gchar *message;
+ guint len;
/* save in case we need to reuse */
- if (title != priv->cached_message) {
- g_free (priv->cached_message);
- priv->cached_message = g_strdup (title);
- }
+ len = priv->cached_titles->len;
+ title = g_ptr_array_index (priv->cached_titles, len-1);
+ message = g_ptr_array_index (priv->cached_messages, len-1);
/* set the text */
- text = g_strdup_printf ("%s", title);
- widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_message"));
+ text = g_strdup_printf ("<big><b>%s</b></big>", title);
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_title"));
gtk_label_set_markup (GTK_LABEL(widget), text);
g_free (text);
+
+ /* set the text */
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_message"));
+ gtk_label_set_markup (GTK_LABEL(widget), message);
+
+ /* remove from the stack */
+ g_ptr_array_remove_index (priv->cached_titles, len-1);
+ g_ptr_array_remove_index (priv->cached_messages, len-1);
}
/**
@@ -316,6 +335,8 @@ gcm_calibrate_argyll_display_neutralise (GcmCalibrateArgyll *calibrate_argyll, G
gint x, y;
gchar *basename = NULL;
gchar *output_name = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -354,9 +375,13 @@ gcm_calibrate_argyll_display_neutralise (GcmCalibrateArgyll *calibrate_argyll, G
gtk_window_move (GTK_WINDOW(widget), 10, y);
/* TRANSLATORS: title, default paramters needed to calibrate_argyll */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Getting default parameters"));
+ title = _("Getting default parameters");
+
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("This pre-calibrates the screen by sending colored and gray patches to your screen and measuring them with the hardware device."));
+ message = _("This pre-calibrates the screen by sending colored and gray patches to your screen and measuring them with the hardware device.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -373,6 +398,7 @@ gcm_calibrate_argyll_display_neutralise (GcmCalibrateArgyll *calibrate_argyll, G
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -412,6 +438,8 @@ gcm_calibrate_argyll_display_generate_patches (GcmCalibrateArgyll *calibrate_arg
gchar **argv = NULL;
GPtrArray *array = NULL;
gchar *basename = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -426,9 +454,12 @@ gcm_calibrate_argyll_display_generate_patches (GcmCalibrateArgyll *calibrate_arg
}
/* TRANSLATORS: title, patches are specific colours used in calibration */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Generating the patches"));
+ title = _("Generating the patches");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Generating the patches that will be measured with the hardware device."));
+ message = _("Generating the patches that will be measured with the hardware device.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -442,6 +473,7 @@ gcm_calibrate_argyll_display_generate_patches (GcmCalibrateArgyll *calibrate_arg
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -481,6 +513,8 @@ gcm_calibrate_argyll_display_draw_and_measure (GcmCalibrateArgyll *calibrate_arg
gchar **argv = NULL;
GPtrArray *array = NULL;
gchar *basename = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -498,9 +532,12 @@ gcm_calibrate_argyll_display_draw_and_measure (GcmCalibrateArgyll *calibrate_arg
type = gcm_calibrate_argyll_get_display_type (calibrate_argyll);
/* TRANSLATORS: title, drawing means painting to the screen */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Drawing the patches"));
+ title = _("Drawing the patches");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Drawing the generated patches to the screen, which will then be measured by the hardware device."));
+ message = _("Drawing the generated patches to the screen, which will then be measured by the hardware device.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -516,6 +553,7 @@ gcm_calibrate_argyll_display_draw_and_measure (GcmCalibrateArgyll *calibrate_arg
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -562,6 +600,8 @@ gcm_calibrate_argyll_display_generate_profile (GcmCalibrateArgyll *calibrate_arg
gchar *model = NULL;
GPtrArray *array = NULL;
GtkWidget *widget;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -594,9 +634,12 @@ gcm_calibrate_argyll_display_generate_profile (GcmCalibrateArgyll *calibrate_arg
gtk_widget_hide (widget);
/* TRANSLATORS: title, a profile is a ICC file */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Generating the profile"));
+ title = _("Generating the profile");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Generating the ICC color profile that can be used with this screen."));
+ message = _("Generating the ICC color profile that can be used with this screen.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -614,6 +657,7 @@ gcm_calibrate_argyll_display_generate_profile (GcmCalibrateArgyll *calibrate_arg
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -657,11 +701,12 @@ gcm_calibrate_argyll_device_setup (GcmCalibrateArgyll *calibrate_argyll, GError
gboolean ret = TRUE;
GString *string = NULL;
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
+ const gchar *title;
string = g_string_new ("");
/* TRANSLATORS: title, we're setting up the device ready for calibration */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Setting up device"));
+ title = _("Setting up device");
/* TRANSLATORS: dialog message, preface */
g_string_append_printf (string, "%s\n", _("Before calibrating the device, you have to manually acquire a reference image and save it as a TIFF image file."));
@@ -679,10 +724,15 @@ gcm_calibrate_argyll_device_setup (GcmCalibrateArgyll *calibrate_argyll, GError
g_string_append_printf (string, "\n%s", _("Do you have a scanned TIFF file of a IT8.7/2 reference image?"));
/* set the message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, string->str);
- /* wait until user selects okay or closes window */
- g_main_loop_run (priv->loop_ui);
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, string->str);
+
+ /* set state */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_LOOP;
+
+ /* wait until finished */
+ g_main_loop_run (priv->loop);
/* get result */
if (priv->response != GTK_RESPONSE_OK) {
@@ -710,6 +760,8 @@ gcm_calibrate_argyll_device_copy (GcmCalibrateArgyll *calibrate_argyll, GError *
gchar *basename = NULL;
gchar *filename_source = NULL;
gchar *filename_reference = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -719,9 +771,12 @@ gcm_calibrate_argyll_device_copy (GcmCalibrateArgyll *calibrate_argyll, GError *
NULL);
/* TRANSLATORS: title, a profile is a ICC file */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Copying files"));
+ title = _("Copying files");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Copying source image, chart data and CIE reference values."));
+ message = _("Copying source image, chart data and CIE reference values.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* build filenames */
filename = g_strdup_printf ("%s.tif", basename);
@@ -763,6 +818,8 @@ gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll, GErro
gchar *filename = NULL;
gchar *command = NULL;
gchar *basename = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -770,9 +827,12 @@ gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll, GErro
NULL);
/* TRANSLATORS: title, drawing means painting to the screen */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Measuring the patches"));
+ title = _("Measuring the patches");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Detecting the reference patches and measuring them."));
+ message = _("Detecting the reference patches and measuring them.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* get correct name of the command */
command = gcm_calibrate_argyll_get_tool_filename ("scanin", error);
@@ -794,6 +854,7 @@ gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll, GErro
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -840,6 +901,8 @@ gcm_calibrate_argyll_device_generate_profile (GcmCalibrateArgyll *calibrate_argy
gchar *manufacturer = NULL;
gchar *model = NULL;
gchar *device = NULL;
+ const gchar *title;
+ const gchar *message;
/* get shared data */
g_object_get (calibrate_argyll,
@@ -868,9 +931,12 @@ gcm_calibrate_argyll_device_generate_profile (GcmCalibrateArgyll *calibrate_argy
copyright = g_strdup_printf ("%s %04i %s", _("Copyright (c)"), date->year, g_get_real_name ());
/* TRANSLATORS: title, a profile is a ICC file */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Generating the profile"));
+ title = _("Generating the profile");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Generating the ICC color profile that can be used with this device."));
+ message = _("Generating the ICC color profile that can be used with this device.");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -888,6 +954,7 @@ gcm_calibrate_argyll_device_generate_profile (GcmCalibrateArgyll *calibrate_argy
gcm_calibrate_argyll_debug_argv (command, argv);
/* start up the command */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_RUNNING;
vte_terminal_reset (VTE_TERMINAL(priv->terminal), TRUE, FALSE);
priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal), command, argv, NULL, GCM_CALIBRATE_ARGYLL_TEMP_DIR, FALSE, FALSE, FALSE);
@@ -1003,6 +1070,8 @@ gcm_calibrate_argyll_display (GcmCalibrate *calibrate, GtkWindow *window, GError
GcmCalibrateArgyll *calibrate_argyll = GCM_CALIBRATE_ARGYLL(calibrate);
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
gboolean ret;
+ const gchar *title;
+ const gchar *message;
/* show main UI */
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "dialog_calibrate"));
@@ -1011,10 +1080,13 @@ gcm_calibrate_argyll_display (GcmCalibrate *calibrate, GtkWindow *window, GError
gdk_window_set_transient_for (gtk_widget_get_window (widget), gtk_widget_get_window (GTK_WIDGET(window)));
/* TRANSLATORS: title, hardware refers to a calibration device */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Set up display"));
+ title = _("Set up display");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Setting up display device for use..."));
+ message = _("Setting up display device for use...");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* step 1 */
ret = gcm_calibrate_argyll_display_neutralise (calibrate_argyll, error);
@@ -1054,6 +1126,8 @@ gcm_calibrate_argyll_device (GcmCalibrate *calibrate, GtkWindow *window, GError
GcmCalibrateArgyll *calibrate_argyll = GCM_CALIBRATE_ARGYLL(calibrate);
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
gboolean ret;
+ const gchar *title;
+ const gchar *message;
/* show main UI */
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "dialog_calibrate"));
@@ -1062,10 +1136,13 @@ gcm_calibrate_argyll_device (GcmCalibrate *calibrate, GtkWindow *window, GError
gdk_window_set_transient_for (gtk_widget_get_window (widget), gtk_widget_get_window (GTK_WIDGET(window)));
/* TRANSLATORS: title, hardware refers to a calibration device */
- gcm_calibrate_argyll_set_title (calibrate_argyll, _("Set up device"));
+ title = _("Set up device");
/* TRANSLATORS: dialog message */
- gcm_calibrate_argyll_set_message (calibrate_argyll, _("Setting up device for use..."));
+ message = _("Setting up device for use...");
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
/* step 0 */
ret = gcm_calibrate_argyll_device_setup (calibrate_argyll, error);
@@ -1113,8 +1190,10 @@ gcm_calibrate_argyll_exit_cb (VteTerminal *terminal, GcmCalibrateArgyll *calibra
priv->response = GTK_RESPONSE_REJECT;
priv->child_pid = -1;
- if (g_main_loop_is_running (priv->loop))
+ if (g_main_loop_is_running (priv->loop)) {
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_IDLE;
g_main_loop_quit (priv->loop);
+ }
}
/**
@@ -1128,30 +1207,13 @@ gcm_calibrate_argyll_interaction_required (GcmCalibrateArgyll *calibrate_argyll,
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
/* save for later */
- saved_title = g_strdup (priv->cached_title);
- saved_message = g_strdup (priv->cached_message);
+ saved_title = g_strdup (priv->cached_title;
+ saved_message = g_strdup (priv->cached_message;
- /* set this to our new text */
- gcm_calibrate_argyll_set_title (calibrate_argyll, title);
- gcm_calibrate_argyll_set_message (calibrate_argyll, message);
-
- /* wait until user selects okay or closes window */
- g_main_loop_run (priv->loop_ui);
-
- /* get result */
- if (priv->response == GTK_RESPONSE_CANCEL) {
- egg_debug ("sending quit");
- vte_terminal_feed_child (VTE_TERMINAL(priv->terminal), "Q", 1);
- goto out;
- }
-
- /* send the terminal an okay */
- egg_debug ("sending okay");
- vte_terminal_feed_child (VTE_TERMINAL(priv->terminal), " ", 1);
/* restore to what we were trying to do in the first place */
- gcm_calibrate_argyll_set_title (calibrate_argyll, saved_title);
- gcm_calibrate_argyll_set_message (calibrate_argyll, saved_message);
+ title = saved_title);
+ message = saved_message);
out:
g_free (saved_title);
g_free (saved_message);
@@ -1195,7 +1257,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll, c
message = _("Please attach the hardware device to the center of the screen on the gray square.");
/* block for a response */
- gcm_calibrate_argyll_interaction_required (calibrate_argyll, title, message);
+ egg_debug ("blocking waiting for user input: %s", title);
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
+
+ /* set state */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN,
/* save as we know the device is on the screen now */
priv->already_on_window = TRUE;
@@ -1213,7 +1281,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll, c
message = _("Please set the device to calibration mode.");
/* block for a response */
- gcm_calibrate_argyll_interaction_required (calibrate_argyll, title, message);
+ egg_debug ("blocking waiting for user input: %s", title);
+
+ /* push new messages into the UI */
+ gcm_calibrate_argyll_set_dialog (calibrate_argyll, title, message);
+
+ /* set state */
+ priv->state = GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN,
goto out;
}
@@ -1306,11 +1380,18 @@ gcm_calibrate_argyll_cancel_cb (GtkWidget *widget, GcmCalibrateArgyll *calibrate
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
priv->response = GTK_RESPONSE_CANCEL;
- vte_terminal_feed_child (VTE_TERMINAL(priv->terminal), "Q", 1);
+
+ /* send input if waiting */
+ if (priv->state == GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN)
+ vte_terminal_feed_child (VTE_TERMINAL(priv->terminal), "Q", 1);
+
+ /* clear loop if waiting */
+ if (priv->state == GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_LOOP)
+ g_main_loop_quit (priv->loop);
+
+ /* stop loop */
if (g_main_loop_is_running (priv->loop))
g_main_loop_quit (priv->loop);
- if (g_main_loop_is_running (priv->loop_ui))
- g_main_loop_quit (priv->loop_ui);
}
/**
@@ -1320,9 +1401,18 @@ static void
gcm_calibrate_argyll_ok_cb (GtkWidget *widget, GcmCalibrateArgyll *calibrate_argyll)
{
GcmCalibrateArgyllPrivate *priv = calibrate_argyll->priv;
+
+ /* send input if waiting */
+ if (priv->state == GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN) {
+ vte_terminal_feed_child (VTE_TERMINAL(priv->terminal), " ", 1);
+ gcm_calibrate_argyll_pop_dialog (calibrate_argyll);
+ }
+
+ /* clear loop if waiting */
+ if (priv->state == GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_LOOP)
+ g_main_loop_quit (priv->loop);
+
priv->response = GTK_RESPONSE_OK;
- if (g_main_loop_is_running (priv->loop_ui))
- g_main_loop_quit (priv->loop_ui);
gtk_widget_hide (widget);
}
@@ -1383,12 +1473,12 @@ gcm_calibrate_argyll_init (GcmCalibrateArgyll *calibrate_argyll)
calibrate_argyll->priv = GCM_CALIBRATE_ARGYLL_GET_PRIVATE (calibrate_argyll);
calibrate_argyll->priv->child_pid = -1;
calibrate_argyll->priv->loop = g_main_loop_new (NULL, FALSE);
- calibrate_argyll->priv->loop_ui = g_main_loop_new (NULL, FALSE);
calibrate_argyll->priv->vte_previous_row = 0;
calibrate_argyll->priv->vte_previous_col = 0;
- calibrate_argyll->priv->cached_title = NULL;
- calibrate_argyll->priv->cached_message = NULL;
+ calibrate_argyll->priv->cached_titles = g_ptr_array_new_with_free_func (g_free);
+ calibrate_argyll->priv->cached_messages = g_ptr_array_new_with_free_func (g_free);
calibrate_argyll->priv->already_on_window = FALSE;
+ calibrate_argyll->priv->state = GCM_CALIBRATE_ARGYLL_STATE_IDLE;
/* get UI */
calibrate_argyll->priv->builder = gtk_builder_new ();
@@ -1459,12 +1549,11 @@ gcm_calibrate_argyll_finalize (GObject *object)
gtk_widget_hide (widget);
g_main_loop_unref (priv->loop);
- g_main_loop_unref (priv->loop_ui);
g_object_unref (priv->builder);
g_object_unref (priv->screen);
g_object_unref (priv->gconf_client);
- g_free (priv->cached_title);
- g_free (priv->cached_message);
+ g_ptr_array_unref (priv->cached_titles);
+ g_ptr_array_unref (priv->cached_messages);
G_OBJECT_CLASS (gcm_calibrate_argyll_parent_class)->finalize (object);
}
diff --git a/src/gcm-calibrate-argyll.h b/src/gcm-calibrate-argyll.h
index 42f0015..63a359a 100644
--- a/src/gcm-calibrate-argyll.h
+++ b/src/gcm-calibrate-argyll.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CALIBRATE_ARGYLL_H
diff --git a/src/gcm-calibrate-manual.c b/src/gcm-calibrate-manual.c
index 911f00b..8e34e2c 100644
--- a/src/gcm-calibrate-manual.c
+++ b/src/gcm-calibrate-manual.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-calibrate-manual.h b/src/gcm-calibrate-manual.h
index 542a3eb..9765b53 100644
--- a/src/gcm-calibrate-manual.h
+++ b/src/gcm-calibrate-manual.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CALIBRATE_MANUAL_H
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 4098a9d..8b82884 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-calibrate.h b/src/gcm-calibrate.h
index fe72f69..a822026 100644
--- a/src/gcm-calibrate.h
+++ b/src/gcm-calibrate.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CALIBRATE_H
diff --git a/src/gcm-cie-widget.c b/src/gcm-cie-widget.c
index 02686ae..c50fe41 100644
--- a/src/gcm-cie-widget.c
+++ b/src/gcm-cie-widget.c
@@ -20,7 +20,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-cie-widget.h b/src/gcm-cie-widget.h
index efcc012..3f28bf1 100644
--- a/src/gcm-cie-widget.h
+++ b/src/gcm-cie-widget.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CIE_WIDGET_H__
diff --git a/src/gcm-client.c b/src/gcm-client.c
index 65876e5..1df21b3 100644
--- a/src/gcm-client.c
+++ b/src/gcm-client.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-client.h b/src/gcm-client.h
index f3f1752..b09a604 100644
--- a/src/gcm-client.h
+++ b/src/gcm-client.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CLIENT_H
diff --git a/src/gcm-clut.c b/src/gcm-clut.c
index 2eb7960..3573e92 100644
--- a/src/gcm-clut.c
+++ b/src/gcm-clut.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-clut.h b/src/gcm-clut.h
index 2a6ed14..7be7234 100644
--- a/src/gcm-clut.h
+++ b/src/gcm-clut.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_CLUT_H
diff --git a/src/gcm-color-device.c b/src/gcm-color-device.c
index a45ca2a..c6b44a2 100644
--- a/src/gcm-color-device.c
+++ b/src/gcm-color-device.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-color-device.h b/src/gcm-color-device.h
index 18beb7f..1c83c18 100644
--- a/src/gcm-color-device.h
+++ b/src/gcm-color-device.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_COLOR_DEVICE_H
diff --git a/src/gcm-dbus.c b/src/gcm-dbus.c
index c863918..0b576a4 100644
--- a/src/gcm-dbus.c
+++ b/src/gcm-dbus.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-dbus.h b/src/gcm-dbus.h
index 9c7f5e7..b003f0d 100644
--- a/src/gcm-dbus.h
+++ b/src/gcm-dbus.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_DBUS_H
diff --git a/src/gcm-device.c b/src/gcm-device.c
index 456e44a..7d122c9 100644
--- a/src/gcm-device.c
+++ b/src/gcm-device.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-device.h b/src/gcm-device.h
index 33252a3..cc78538 100644
--- a/src/gcm-device.h
+++ b/src/gcm-device.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_DEVICE_H
diff --git a/src/gcm-dmi.c b/src/gcm-dmi.c
index cef9d42..c658f4e 100644
--- a/src/gcm-dmi.c
+++ b/src/gcm-dmi.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-dmi.h b/src/gcm-dmi.h
index 0a4897c..bd07dbd 100644
--- a/src/gcm-dmi.h
+++ b/src/gcm-dmi.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_DMI_H
diff --git a/src/gcm-dump-edid.c b/src/gcm-dump-edid.c
index 09a4cfe..0e92a48 100644
--- a/src/gcm-dump-edid.c
+++ b/src/gcm-dump-edid.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-dump-profile.c b/src/gcm-dump-profile.c
index e948cf8..80389b1 100644
--- a/src/gcm-dump-profile.c
+++ b/src/gcm-dump-profile.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-edid.c b/src/gcm-edid.c
index 040f70e..3f487ff 100644
--- a/src/gcm-edid.c
+++ b/src/gcm-edid.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-edid.h b/src/gcm-edid.h
index ac3dfca..cac6dcb 100644
--- a/src/gcm-edid.h
+++ b/src/gcm-edid.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_EDID_H
diff --git a/src/gcm-enum.c b/src/gcm-enum.c
index 9a3478c..ed2623f 100644
--- a/src/gcm-enum.c
+++ b/src/gcm-enum.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-enum.h b/src/gcm-enum.h
index 3533224..aeed9bc 100644
--- a/src/gcm-enum.h
+++ b/src/gcm-enum.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_ENUM_H
diff --git a/src/gcm-fix-profile.c b/src/gcm-fix-profile.c
index 9ff0a65..57e729f 100644
--- a/src/gcm-fix-profile.c
+++ b/src/gcm-fix-profile.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-gamma-widget.c b/src/gcm-gamma-widget.c
index 6bee986..0c524a5 100644
--- a/src/gcm-gamma-widget.c
+++ b/src/gcm-gamma-widget.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-gamma-widget.h b/src/gcm-gamma-widget.h
index 5d4168d..e665653 100644
--- a/src/gcm-gamma-widget.h
+++ b/src/gcm-gamma-widget.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_GAMMA_WIDGET_H__
diff --git a/src/gcm-image.c b/src/gcm-image.c
index 58574c2..44215b6 100644
--- a/src/gcm-image.c
+++ b/src/gcm-image.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-image.h b/src/gcm-image.h
index a96cd47..272cbc1 100644
--- a/src/gcm-image.h
+++ b/src/gcm-image.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_IMAGE_H
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 001c4f3..f1042fa 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-inspect.c b/src/gcm-inspect.c
index 5b01d8d..4c9c1d9 100644
--- a/src/gcm-inspect.c
+++ b/src/gcm-inspect.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-install-system-wide.c b/src/gcm-install-system-wide.c
index 50a331f..0a5f86a 100644
--- a/src/gcm-install-system-wide.c
+++ b/src/gcm-install-system-wide.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index 0a12955..87d8b6c 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-profile-lcms1.c b/src/gcm-profile-lcms1.c
index 7c3b837..9810355 100644
--- a/src/gcm-profile-lcms1.c
+++ b/src/gcm-profile-lcms1.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-profile-lcms1.h b/src/gcm-profile-lcms1.h
index 78cefe9..47bbddf 100644
--- a/src/gcm-profile-lcms1.h
+++ b/src/gcm-profile-lcms1.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_PROFILE_LCMS1_H
diff --git a/src/gcm-profile-store.c b/src/gcm-profile-store.c
index d789b6f..033a3cb 100644
--- a/src/gcm-profile-store.c
+++ b/src/gcm-profile-store.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-profile-store.h b/src/gcm-profile-store.h
index fc03510..92ad77c 100644
--- a/src/gcm-profile-store.h
+++ b/src/gcm-profile-store.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_PROFILE_STORE_H
diff --git a/src/gcm-profile.c b/src/gcm-profile.c
index a8aefbc..6a17427 100644
--- a/src/gcm-profile.c
+++ b/src/gcm-profile.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-profile.h b/src/gcm-profile.h
index 5d05bb6..a313b88 100644
--- a/src/gcm-profile.h
+++ b/src/gcm-profile.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_PROFILE_H
diff --git a/src/gcm-screen.c b/src/gcm-screen.c
index e876162..cddb119 100644
--- a/src/gcm-screen.c
+++ b/src/gcm-screen.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-screen.h b/src/gcm-screen.h
index 0744332..a518fb2 100644
--- a/src/gcm-screen.h
+++ b/src/gcm-screen.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_SCREEN_H
diff --git a/src/gcm-self-test.c b/src/gcm-self-test.c
index e919fe0..c50cfb1 100644
--- a/src/gcm-self-test.c
+++ b/src/gcm-self-test.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <glib-object.h>
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 8e02e8c..345e23c 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-tables.c b/src/gcm-tables.c
index c70034d..89517a1 100644
--- a/src/gcm-tables.c
+++ b/src/gcm-tables.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-tables.h b/src/gcm-tables.h
index 4afaec2..db2f6fb 100644
--- a/src/gcm-tables.h
+++ b/src/gcm-tables.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_TABLES_H
diff --git a/src/gcm-trc-widget.c b/src/gcm-trc-widget.c
index 66d54e0..57133df 100644
--- a/src/gcm-trc-widget.c
+++ b/src/gcm-trc-widget.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-trc-widget.h b/src/gcm-trc-widget.h
index eb6c118..5514fca 100644
--- a/src/gcm-trc-widget.h
+++ b/src/gcm-trc-widget.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_TRC_WIDGET_H__
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index 5d7a2af..89d62c3 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/src/gcm-utils.h b/src/gcm-utils.h
index 6b3dac8..93f90bb 100644
--- a/src/gcm-utils.h
+++ b/src/gcm-utils.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_UTILS_H
diff --git a/src/gcm-xserver.c b/src/gcm-xserver.c
index 1038d9e..3ae4c53 100644
--- a/src/gcm-xserver.c
+++ b/src/gcm-xserver.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-xserver.h b/src/gcm-xserver.h
index bf9a25c..5847906 100644
--- a/src/gcm-xserver.h
+++ b/src/gcm-xserver.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_XSERVER_H
diff --git a/src/gcm-xyz.c b/src/gcm-xyz.c
index e02c8d0..bbe51cb 100644
--- a/src/gcm-xyz.c
+++ b/src/gcm-xyz.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
diff --git a/src/gcm-xyz.h b/src/gcm-xyz.h
index 9d8c668..240df5a 100644
--- a/src/gcm-xyz.h
+++ b/src/gcm-xyz.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __GCM_XYZ_H
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]