diff options
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-rule.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index c810b73ab3..3582616927 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com> + + * filter-rule.c : Remove markup from translatable string. Fixes #268390 + Patch submitted by Priit Laes + 2005-02-17 Harry Lu <harry.lu@sun.com> Fix for 72676. diff --git a/filter/filter-rule.c b/filter/filter-rule.c index 58d4a44267..cc92b7781e 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -779,6 +779,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f) GtkWidget *scrolledwindow; GtkObject *hadj, *vadj; GList *l; + gchar *text; FilterPart *part; struct _rule_data *data; int rows, i; @@ -815,11 +816,13 @@ get_widget (FilterRule *fr, struct _RuleContext *f) gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); - label = gtk_label_new (_("<b>If</b>")); + text = g_strdup_printf("<b>%s</b>", _("If")); + label = gtk_label_new (text); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_widget_show (label); + g_free(text); hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0); |