Posted by Laudeci Oliveira in Geral, Pessoal, Python, Ubuntu.com | 0 comments
APTonCD and Themes.
After a long time without being able to add any new functionality or improve something already done, decided to resolve an issue that bothered a lot users, the visual behavior to using different themes.
To illustrate the problem, a brief introduction: APTonCD uses a color scheme to highlight the status of packages on it’s list.
They are:
- Installed with newer version;
- Not installed but with newer versions;
- Installed but using an old version;
- Not Installed but using an old version;
- “CUSTOM” packages, using the ‘add’ button or by draging’n droping from nautilus;
- BAD Packages, packages that was not correct loaded by APTonCD;
The most common problem was to show packages with older versions using a color that aware the user for an old package, the development team chose the insensiteve color used by themes in the background color of a Label to show an item that does not respond to events mouse or keyboard. The result can be seen in the figure below:
Notice how difficult is to see informations of adduser (3.110ubuntu7) and adobe-flashplugin (10.0.42.34-2karnic1) packages.
After change it, the theme color used is the STATE_ INSENSITIVE for text and not backgrounds. The result is much better.
Now it’s using the new Python-apt API.
There’s much more coming, fasten your sit belts!!!



No Comments
Trackbacks/Pingbacks