On Thu, 2006-02-16 at 00:38 +0100, Sebastien Bacher wrote: > severity 353067 important > thanks > > Le mercredi 15 février 2006 à 17:18 -0600, Joe Wreschnig a écrit : > > Package: libgtk2.0-0 > > Version: 2.8.12-1 > > Severity: critical > > Justification: breaks unrelated software > > > > Upgrading from GTK 2.8.11 to 2.8.12 moves Quod Libet's status bar to the > > other side of the screen. This is an API change, and the previous > > behavior was not a bug, so it should not occur at all within the GTK 2.x > > series (let alone a point release). > > > > http://www.sacredchao.net/~piman/images/2006/ql-gtk2.8.10.png > > http://www.sacredchao.net/~piman/images/2006/ql-gtk2.8.12.png > > Thank you for your bug. Please don't abuse the settings of the bug, the > application is not broken, that's just a visual glitch. Do you have some > easy code that points the behaviour change?
The attached code works with GTK 2.8.10, but not 2.8.12 (I don't have a 2.8.11 .deb handy). If you comment out the set_ellipsize call, it does the right thing. -- Joe Wreschnig <[EMAIL PROTECTED]>
import pango, gtk if __name__ == "__main__": w = gtk.Window() w.set_default_size(300, 50) statusbar = gtk.Label("Should be right-aligned") statusbar.set_alignment(1.0, 0.5) statusbar.set_ellipsize(pango.ELLIPSIZE_START) w.add(statusbar) w.show_all() gtk.main()
signature.asc
Description: This is a digitally signed message part