GNOME Bugzilla – Bug 59114
Underline characters in filenames appear wrong in recent files list (file menu)
Last modified: 2004-12-22 21:47:04 UTC
<This is a forward of RH bug #50114> Description of Problem: In the list of recently used files that appears on in the "File" drop down menu, if the file or pathname contains an underline character, the next character is shown as underlined, ie the underline character is combined with the character that follows it. How Reproducible: Every time. Steps to Reproduce: cd mkdir foo_bar touch foo_bar/bar gedit foo_bar/bar Look at the entry in the recently used files list in the "file" menu. Actual Results: Appears as /home/james/foobar/bar (the b in foobar is underlined) Expected Results: Appears as /home/james/foo_bar/bar
Isn't this a gtk limitation ? Is there a way to escape the underline character ?
sure. Don't use an accel label. ie: menu_item = gtk_menu_item_new (); label = gtk_label_new (text); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_container_add (GTK_CONTAINER (menu_item), label);
Fixed, i'll release 0.9.7 pretty soon with this fix. Thanks for the bug report.