aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-12-10 07:04:53 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-12-10 07:04:53 +0800
commit4cbd83f8a9bd6a612a6514d66e993bd052aa7e88 (patch)
treeef8a5e633953d98fc1c1f525ffd2f6ebe9e77005 /calendar
parentdbdeeca21b2062bc6a43102bbc88679e5566d219 (diff)
downloadgsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.gz
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.tar.zst
gsoc2013-evolution-4cbd83f8a9bd6a612a6514d66e993bd052aa7e88.zip
** Fixes bug 474651
2007-12-10 Tobias Mueller <tobiasmue@svn.gnome.org> ** Fixes bug 474651 * addressbook/gui/contact-editor/eab-editor.c: * plugins/save-calendar/ical-format.c: * plugins/save-calendar/csv-format.c: * plugins/save-calendar/rdf-format.c: * plugins/ipod-sync/ical-format.c: * plugins/ipod-sync/ipod-sync.c: * plugins/ipod-sync/evolution-ipod-sync.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/copy-source-dialog.c: * calendar/gui/dialogs/delete-error.c: Use format strings in gtk_message_dialog_new svn path=/trunk/; revision=34680
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/changed-comp.c2
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.c2
-rw-r--r--calendar/gui/dialogs/delete-error.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/changed-comp.c b/calendar/gui/dialogs/changed-comp.c
index bfc89604e3..ff6870c514 100644
--- a/calendar/gui/dialogs/changed-comp.c
+++ b/calendar/gui/dialogs/changed-comp.c
@@ -105,7 +105,7 @@ changed_component_dialog (GtkWindow *parent, ECalComponent *comp, gboolean delet
dialog = gtk_message_dialog_new (parent, GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
- GTK_BUTTONS_YES_NO, str);
+ GTK_BUTTONS_YES_NO, "%s", str);
icon_list = e_icon_factory_get_icon_list ("stock_calendar");
if (icon_list) {
diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c
index b8629bf86f..e4f5c55623 100644
--- a/calendar/gui/dialogs/copy-source-dialog.c
+++ b/calendar/gui/dialogs/copy-source-dialog.c
@@ -39,7 +39,7 @@ show_error (GtkWindow *parent, const char *msg)
{
GtkWidget *dialog;
- dialog = gtk_message_dialog_new (parent, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, msg);
+ dialog = gtk_message_dialog_new (parent, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", msg);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
diff --git a/calendar/gui/dialogs/delete-error.c b/calendar/gui/dialogs/delete-error.c
index d8f4df3cfc..ea9406da73 100644
--- a/calendar/gui/dialogs/delete-error.c
+++ b/calendar/gui/dialogs/delete-error.c
@@ -105,7 +105,7 @@ delete_error_dialog (GError *error, ECalComponentVType vtype)
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
- GTK_BUTTONS_OK, str);
+ GTK_BUTTONS_OK, "%s", str);
if (vtype == E_CAL_COMPONENT_EVENT)
icon_list = e_icon_factory_get_icon_list ("stock_calendar");
else if (vtype == E_CAL_COMPONENT_TODO)