diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-02-13 06:08:31 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-02-13 06:08:31 +0800 |
commit | 51053180df795a8fafcdc55fd48709cf67f2e911 (patch) | |
tree | 8477eab1ad6730efaece12329081a16b0e0c5c1a /calendar | |
parent | c5fc43aa596fa471da86554f38b2e21886da2ad9 (diff) | |
download | gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.gz gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.bz2 gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.lz gsoc2013-evolution-51053180df795a8fafcdc55fd48709cf67f2e911.tar.xz 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')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/copy-source-dialog.c | 8 |
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); |