Monthly Archives: January 2011

Would you mind if I remove rating from GMPC.

When cirrus added sticker support to MPD, I added a basic ‘rating’ support to GMPC. But I never used it and I know nobody who does. So I would like to remove it! But if it turns out people use it, like it, want to keep it, I probly leave it. So to get some read more »

Puzzled

Why is my code broken because vala developers decided that the string.str is something you don’t need and is deprecated. Instead you need to use index_of function. So now if I want to get a pointer (c) to substring b in string a, this is done (merged the c code inserted by vala): ?View Code read more »

Need clarification

This happened on IRC today: 06:38:00              –> | benhem (~BenHem@benhem.xen.prgmr.com) has joined #gmpc 06:38:50           benhem | ahoy … apt-get / aptitude is warning me more strongly than usual about installing gmpc 06:39:09           benhem | I went ahead with it but thought devs should know 06:39:14           benhem | cheers 06:39:15              <– | benhem (~BenHem@benhem.xen.prgmr.com) has left read more »

Gnome Music Player Client – More elegant song list.

Today I have changed the songlist in the metadata browser from a columned list to something a bit more elegant. So it looks something like this now: This should give a bit more consistent feel to it.. you click on an artist, then an album, then a song etc.

Theme sucky slowness2

It seems to be faster to rebuild 201000 widgets, then gtk_container_remove() and gtk_container_add(). Crazy crazy crazy.

Theme sucky slowness

I have been testing with the problem in my previous post,  reset_rc_styles_recurse being very slow. I made a small test case that adds 201.000 items to the view.  Thousand items with one header item. When I detach gtk_container_remove(), then gtk_container_add() again, it the add takes: clearlooks: 9.3 seconds aurora: 9.2 seconds ambiance: 15.5 seconds cleanice: read more »

GTK Question

I have a custom GtkContainer class that nicely  orders widgets in an array, supports headers etc.  (it is very simple) See: http://images.sarine.nl/gmpc-metadata-search3.png and http://images.sarine.nl/gmpc-album-view-updated.png but i am having the following issue: if you: Remove the widget from a container (while keeping a reference around) then: Add it to a container again it takes a long read more »

GMPC albumview slow.

I often get questions why the albumview plugin is slow when you scroll for the first time. Well lets try do the math, say you have 1300 albums, each album cover is 80kbyte (this is for my collection a huge underestimation as the average is around 250kbyte for me, but ok) 1300x80kbyte=104.000 kbyte = 101 read more »