diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-02-11 01:01:10 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-02-11 01:01:10 +0800 |
commit | 9faa7842de23cac796104c475e74a4e8fc8e07fc (patch) | |
tree | 2d9cee39fdec1067514f47f4ae528a802144e848 /calendar/gui | |
parent | f409726d4e78a0f4fc975bc3205e321740de8f94 (diff) | |
download | gsoc2013-evolution-9faa7842de23cac796104c475e74a4e8fc8e07fc.tar.gz gsoc2013-evolution-9faa7842de23cac796104c475e74a4e8fc8e07fc.tar.zst gsoc2013-evolution-9faa7842de23cac796104c475e74a4e8fc8e07fc.zip |
String changes for improved error-messages and a schema-description.
M addressbook/ChangeLog
M addressbook/addressbook.error.xml
M mail/ChangeLog
M mail/mail-config.glade
M mail/evolution-mail.schemas.in
M calendar/calendar.error.xml
M calendar/gui/dialogs/comp-editor.c
M calendar/gui/e-calendar-view.c
M calendar/ChangeLog
svn path=/trunk/; revision=34982
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 28f2751295..b01667d6dd 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -921,7 +921,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", NULL); + 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); /* don't discard changes when selected readonly calendar */ return FALSE; } @@ -1296,7 +1296,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", NULL); + 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); return; } diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 9f01ffa0b6..c1845eb992 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -1822,7 +1822,7 @@ e_calendar_view_new_appointment_for (ECalendarView *cal_view, if (e_cal_is_read_only (default_client, &readonly, NULL) && readonly) { GtkWidget *widget; - widget = e_error_new (NULL, "calendar:prompt-read-only-cal", NULL); + widget = e_error_new (NULL, "calendar:prompt-read-only-cal", e_source_peek_name (e_cal_get_source (default_client)), NULL); g_signal_connect ((GtkDialog *)widget, "response", G_CALLBACK (gtk_widget_destroy), widget); |