aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3714f581fe..6f32ed1299 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-12 Hans Petter Jansson <hpj@ximian.com>
+
+ * gui/dialogs/copy-source-dialog.c (copy_source_dialog): Instead
+ of saying "Select destination source", we now say "... calendar" or
+ "... task list", based on object type.
+
2004-02-12 Chris Toshok <toshok@ximian.com>
* gui/migration.c (CONTACTS_BASE_URI): rename from
diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c
index b3abd44747..936ed6e66a 100644
--- a/calendar/gui/dialogs/copy-source-dialog.c
+++ b/calendar/gui/dialogs/copy-source-dialog.c
@@ -140,6 +140,7 @@ copy_source_dialog (GtkWindow *parent, ESource *source, ECalSourceType obj_type)
gboolean result = FALSE;
const char *gconf_key;
GtkWidget *label;
+ gchar *label_text;
g_return_val_if_fail (E_IS_SOURCE (source), FALSE);
@@ -161,7 +162,12 @@ copy_source_dialog (GtkWindow *parent, ESource *source, ECalSourceType obj_type)
NULL);
gtk_dialog_set_response_sensitive (GTK_DIALOG (csdd.dialog), GTK_RESPONSE_OK, FALSE);
- label = gtk_label_new (_("Select destination source"));
+ label_text = g_strdup_printf (_("Select destination %s"),
+ obj_type == E_CAL_SOURCE_TYPE_EVENT ?
+ _("calendar") : _("task list"));
+ label = gtk_label_new (label_text);
+ g_free (label_text);
+
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (csdd.dialog)->vbox), label, FALSE, FALSE, 6);