Hello guys, According to documentation in http://www.pygtk.org/docs/pygtk/class- gtkbutton.html#constructor-gtkbutton :
"Creates a new button widget with the content depending on the parameters: label, stock and use_underline. The default values for stock and label are None and, in PyGTK 2.4 and above, use_underline is available and defaults to True. [..] If label is specified the "label" property will be set with the text of the label, the "use_underline" property will be set to True and any characters that are preceded by an underscore are underlined [...] In PyGTK 2.4 and above the "use-underline" property can be set by using the optional use_underline parameter." I'm not a python nor gtk developer, but for what I understand from the documentation, default should be to set the underline instead of underscore, so this might be indeed a bug in pygtk. Anyways, I'm attaching another debdiff which includes a better patch setting the optional use_underline parameter instead of using the "set_use_underline" function. Cheers, Andres. ** Attachment added: "gobby_0.4.9-2ubuntu1.debdiff" http://launchpadlibrarian.net/31081856/gobby_0.4.9-2ubuntu1.debdiff ** Attachment removed: "gobby_0.4.9-2ubuntu1.debdiff" http://launchpadlibrarian.net/31081856/gobby_0.4.9-2ubuntu1.debdiff -- Search and Replace dialog shows buttons with underscore instead of underline https://bugs.launchpad.net/bugs/421312 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
