diff options
author | Sarfraaz Ahmed <asarfraaz@novell.com> | 2005-05-06 15:15:01 +0800 |
---|---|---|
committer | Ahmed Sarfraaz <sarfraaz@src.gnome.org> | 2005-05-06 15:15:01 +0800 |
commit | a0e82d31bd8eb804e2987d0b57dd74270dc7b635 (patch) | |
tree | 357d40667de45c22342f6029a58d13a8a0f00e88 | |
parent | 06adff60185def7c484e53d556d6c790e6300a30 (diff) | |
download | gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar.gz gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar.bz2 gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar.lz gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar.xz gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.tar.zst gsoc2013-evolution-a0e82d31bd8eb804e2987d0b57dd74270dc7b635.zip |
Remove markup from translatable string. Fixes #268390 Patch submitted by
2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com>
* filter-rule.c : Remove markup from translatable string. Fixes #268390
Patch submitted by Priit Laes
svn path=/trunk/; revision=29302
-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); |