diff options
author | Milan Crha <mcrha@redhat.com> | 2008-03-27 18:38:33 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-03-27 18:38:33 +0800 |
commit | 2759c2e3a72c5c2e8a7b35eb1342221c3813380b (patch) | |
tree | 36a29a3adfb1f5ff938beda7a1dc22d6b3520351 /calendar/gui/dialogs | |
parent | eaca5de27a99671161919ef55ea10759828f2be5 (diff) | |
download | gsoc2013-evolution-2759c2e3a72c5c2e8a7b35eb1342221c3813380b.tar.gz gsoc2013-evolution-2759c2e3a72c5c2e8a7b35eb1342221c3813380b.tar.zst gsoc2013-evolution-2759c2e3a72c5c2e8a7b35eb1342221c3813380b.zip |
** Fix for bug #438613
2008-03-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #438613
* addressbook/addressbook.error.xml:
Improved "contact-delete-error-perm" secondary text.
* calendar/calendar.error.xml: New message "prompt-read-only-cal-editor".
* calendar/gui/dialogs/comp-editor.c: (prompt_and_save_changes),
(menu_file_save_cb): Use different read-only message when checking
from contact editor and from calendar UI.
svn path=/trunk/; revision=35260
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 17b24091d8..a5b2232a0b 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -915,7 +915,7 @@ prompt_and_save_changes (CompEditor *editor, gboolean send) switch (save_component_dialog (GTK_WINDOW(editor), priv->comp)) { case GTK_RESPONSE_YES: /* Save */ if (!e_cal_is_read_only (priv->client, &read_only, NULL) || read_only) { - e_error_run ((GtkWindow *) gtk_widget_get_toplevel (GTK_WIDGET (editor)), "calendar:prompt-read-only-cal", e_source_peek_name (e_cal_get_source (priv->client)), NULL); + e_error_run ((GtkWindow *) gtk_widget_get_toplevel (GTK_WIDGET (editor)), "calendar:prompt-read-only-cal-editor", e_source_peek_name (e_cal_get_source (priv->client)), NULL); /* don't discard changes when selected readonly calendar */ return FALSE; } @@ -1290,7 +1290,7 @@ menu_file_save_cb (BonoboUIComponent *uic, } if (!e_cal_is_read_only (priv->client, &read_only, NULL) || read_only) { - e_error_run ((GtkWindow *) gtk_widget_get_toplevel (GTK_WIDGET (editor)), "calendar:prompt-read-only-cal", e_source_peek_name (e_cal_get_source (priv->client)), NULL); + e_error_run ((GtkWindow *) gtk_widget_get_toplevel (GTK_WIDGET (editor)), "calendar:prompt-read-only-cal-editor", e_source_peek_name (e_cal_get_source (priv->client)), NULL); return; } |