GNOME Bugzilla – Bug 136457
Applet icon not aligned vertically
Last modified: 2010-01-24 01:06:38 UTC
If the panel size is big enough, the battery applet is top aligned instead of center aligned as the other icons. I'm going to attach a screenshot showing this with a panel size exagerately big.
Created attachment 25291 [details] Screeshot of the panel icon
That's rather amusing. Does it still exist in GNOME 2.6?
I think i've fixed this for 2.6 somewhere in the 2.5.x serie, not sure tho.
Hmm, it's not actually that hard to check is it? It wouldn't appear to be properly fixed.
Sorry i was in a hurry, but it's true i did screw up, it's still borked.
Created attachment 29667 [details] [review] patch for battstat applet This patch makes the applet centered on vertical and horizontal panels. I made the applet follow the panel size using size_allocate, so this has the nice side effect of fixing bug #144413 as well.
I've been meaning to check this out. It looked basically sane at a first glance.
What do you mean ? Do you have other plans for the battery applet ? Or a complete rewrite ?
I meant that I hadn't actually tested this patch for myself yet.
Has this patch been applied to HEAD ? Otherwise this bug is still present in gnome-applets and the battery applet positioning is still wrong.
Assuming it's not this one: 2004-07-09 Vincent Noel <vnoel@cox.net> * battstat_applet.c (change_orient): Make the applet horizontal on wide vertical panels. Then you should commit it so we can close this bug.
Unfortunately I don't have cvs access, otherwise I would have done it a while ago.
Go ahead and commit it Davyd.
Committed. Thanks Vincent.