GNOME Bugzilla – Bug 643923
Should not use markup for GtkFrame's label
Last modified: 2013-09-13 21:11:36 UTC
As spotted in bug #643707, Glade currently generates GtkFrame widgets using the use-markup property on their label and putting the label between <b> tags by default. Glade should use Pango attributes to make the label text bold. <b>This results in translatable strings with unnecessary markup around them, and annoyed translators reporting bugs like the one referenced.</b> The error comes from glade_gtk_frame_post_create() in plugins/gtk+/glade-gtk.c
Hi! We've been talking about this same issue in another bug (https://bugzilla.gnome.org/show_bug.cgi?id=670650). Since there is a GNOME Goal to remove markup from .ui files, it makes no sense that files generated by glade include that markup... could be possible to change this behaviour in glade?
(In reply to comment #1) > Hi! We've been talking about this same issue in another bug > (https://bugzilla.gnome.org/show_bug.cgi?id=670650). > > Since there is a GNOME Goal to remove markup from .ui files, it makes no sense > that files generated by glade include that markup... could be possible to > change this behaviour in glade? Are you suggesting we remove markup support from Glade? I agree that its better not to use markup in general so I will make sure glade is not generating unnecessary markup by default.
(In reply to comment #2) > Are you suggesting we remove markup support from Glade? No, I was just suggesting to use Pango attributes in the .ui files. Take a look into this commit to see what I mean: https://git.gnome.org/browse/pitivi/commit/?id=9642092edb207c7eb8dd05b05c6a3471a058a014 Bold and italics are interesting and, sometimes, neccesary, so removing them completely wouldn't make people happy, but changing the generated code would make happy both developers and translators ;-)
Fixed in master, I will also push it to glade-3-16 before monday