wednesday night / a site for sore eyes
choose one: a few recent posts; links to embarassing things; rss was for robots.

<< August 28, 2008 >>
why i love developing on linux

so, where to start. i want to put an animation in a dialog. GtkImage can show a GdkPixbufAnimation. sounds good so far.

gdk_pixbuf_animation_new_from_file()? well, i'm embedding the pixbuf data in my binary; not loading from a file.

gdk_pixbuf_simple_anim_new() would be great, but we're targetting gtk 2.4, so it's out.

so, in a sane library, i'd be able to implement my own animation object that i load myself, but thanks to gdk-pixbuf's opaqueness, i simply cant. but thank god the manual has an extensive section on the differences between imlib and gdk-pixbuf. it's really comforting right now.

ok, so i have to handle the loading and timing myself. this is more than just <img src=, but at least it's in C, so it's fast, right?

so, i probably don't need to run my timer when the dialog's not visible; do i connect to show, realize, map, or map-event?

i guess i'm just a little extra cranky this morning because, when i type my password wrong, SLED takes thirty earth seconds before i'm allowed to try again. it's almost faster to just reboot. i mean, it should be, if that weren't so slow.

* * *