Comment 50 for bug 899878

Revision history for this message
Rohan "HEXcube" Villoth (hexcube) wrote :

@octoquad , I downloaded the modified files from your branch http://bazaar.launchpad.net/~octoquad/software-center/899878-hardcoded-colors-dark-theme/revision/3326 and used them to directly replace the corresponding files in `/usr/share/software-center/*` . I wouldn't normally replace files like this, but Ubuntu 14.04LTS and 15.10 use the same version of Software Center except for some patches (See https://launchpad.net/ubuntu/+source/software-center ).

Then for testing dark theme, I copied `/usr/share/software-center/ui/gtk3/css/softwarecenter.adwaita-dark.css` and renamed the copy to `softwarecenter.numix bluo-dark.css`, coz Numix Bluo (a custom mod of Numix theme) is my current GTK theme. Then I opened Software Center and it loaded the dark theme! 😊 But wait, the color was a bit grey coz of the old `stipple.png`. So, I tried @bsperger 's transparent stipple from https://bugs.launchpad.net/software-center/+bug/899878/comments/37 but for some reason it crashes Software Center. 😞 So, I tried the one from https://bugs.launchpad.net/software-center/+bug/899878/comments/40 and exported it to PNG using GIMP. Software Center loads it fine, but results were similar to the 4th case (transparent stipple with custom css) from https://bugs.launchpad.net/software-center/+bug/899878/comments/39 . So, like in the 5th case, I edited `/usr/share/software-center/softwarecenter/ui/gtk3/views/catview.py` and reduced alpha to 0.1 and then it looked well!

So on the whole, the patch looks compatible with 14.04LTS's Software Center and so I request a backport through an SRU update.