aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-12-14 02:23:31 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-12-14 02:23:31 +0800
commitcda4109744c046a8f780ab6114d790ed014f86a6 (patch)
treeebc0f0818caa3c349467ca0f28655d12799f5441 /widgets/misc
parentc73bf5eaa749b85c3b06038a4898b006bdf7491e (diff)
downloadgsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.gz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.bz2
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.lz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.xz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.zst
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.zip
** Fixes bug 474651
2007-12-13 Tobias Mueller <tobiasmue@svn.gnome.org> ** Fixes bug 474651 * calendar/gui/memos-component.c: * addressbook/gui/component/addressbook.c: * calendar/gui/tasks-control.c: * calendar/gui/tasks-component.c: * widgets/misc/e-dateedit.c: * calendar/gui/e-cal-model-tasks.c: * widgets/misc/e-cell-percent.c: * calendar/gui/e-itip-control.c: * calendar/gui/comp-editor-factory.c: Use format strings in gtk_message_dialog_new svn path=/trunk/; revision=34694
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-cell-percent.c2
-rw-r--r--widgets/misc/e-dateedit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c
index f8336812b4..353721c59f 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -76,7 +76,7 @@ show_percent_warning (void)
dialog = gtk_message_dialog_new (
NULL, 0,
GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
- _("The percent value must be between 0 and 100, inclusive"));
+ "%s", _("The percent value must be between 0 and 100, inclusive"));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 206f1d7211..60aa752ceb 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -1638,7 +1638,7 @@ on_date_entry_focus_out (GtkEntry *entry,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK,
- _("Invalid Date Value"));
+ "%s", _("Invalid Date Value"));
gtk_dialog_run (GTK_DIALOG(msg_dialog));
gtk_widget_destroy (msg_dialog);
e_date_edit_get_date (dedit,&tmp_tm.tm_year,&tmp_tm.tm_mon,&tmp_tm.tm_mday);
@@ -1664,7 +1664,7 @@ on_time_entry_focus_out (GtkEntry *entry,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK,
- _("Invalid Time Value"));
+ "%s", _("Invalid Time Value"));
gtk_dialog_run (GTK_DIALOG(msg_dialog));
gtk_widget_destroy (msg_dialog);
e_date_edit_set_time (dedit,e_date_edit_get_time(dedit));