aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2004-02-13 06:08:31 +0800
committerHans Petter <hansp@src.gnome.org>2004-02-13 06:08:31 +0800
commit51053180df795a8fafcdc55fd48709cf67f2e911 (patch)
tree8477eab1ad6730efaece12329081a16b0e0c5c1a /calendar/gui
parentc5fc43aa596fa471da86554f38b2e21886da2ad9 (diff)
downloadgsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.gz
gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.zst
gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.zip
Instead of saying "Select destination source", we now say "... calendar"
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. svn path=/trunk/; revision=24730
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.c8
1 files changed, 7 insertions, 1 deletions
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);