http://taschenorakel.de/mathias/2007/08/02/soc-status-20070802/ I didn't provide a status report for some time, so what happend in extended layout world? I stopped to waste time with baseline alignment and switched to spreading natural size support over GTK+. As a result of this effort many widgets and one cell renderer are providing and interpreting natural size information now: GtkAlignment, GtkBin, GtkButton, GtkCellRendererText, GtkCellView, GtkFrame, GtkHBox, GtkLabel, GtkSocket, GtkTable and GtkVBox. When working on GtkVBox and vertical natural size aware alignment in GtkTable I realized GtkLabel doesn't support ellipses when rotated. So I implemented ellipsizing support for rotated labels[1]. This code only works properly for angles being multiples of 90° so far (first screencast[2]), but I managed to write some test program getting ellipses right for any angle (second screencast[3]) - just have to adopt the code to the label. Completly unrelated Teemu Ikonen reminded me of my common file format chooser[4] project. So I moved the code from Bugzilla to libegg[5]. Finally I also figured out how to automatically integrate that widget with file choosers. So I added file filter synchronization and automatic file extension appending (third screencast[6]). The code still is quite rough. Icons should be retrieved via the MIME type API of GVFS. Nevertheless it would be nice if interested parties would verify if it works for them in principle. Change requests should be posted in Bug 440431[7]. Ciao, Mathias [1] http://svn.gnome.org/viewcvs/gtk% 2B/branches/extended-layout/gtk/gtklabel.c?r1=18339&r2=18493 [2] http://taschenorakel.de/media/movies/soc-status-20070802-label-broken.ogg [3] http://taschenorakel.de/media/movies/soc-status-20070802-label-testbed.png [4] http://live.gnome.org/GTK%2B/FileFormatChooser [5] http://svn.gnome.org/viewcvs/libegg/trunk/libegg/fileformatchooser/ [6] http://taschenorakel.de/media/movies/soc-status-20070802-format-chooser.png [7] http://bugzilla.gnome.org/show_bug.cgi?id=440431 -- Mathias Hasselmann <mathias taschenorakel de> http://taschenorakel.de/
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil