mariano / snakefire

A Linux desktop client for Campfire
http://snakefire.org
MIT License
99 stars 24 forks source link

CSS styling #37

Closed marke123 closed 12 years ago

marke123 commented 12 years ago

I modify the default.css to change some colors file but my changes don't take when I reload snakefire. Any idea why?

mariano commented 12 years ago

Yes, because the CSS is embeded as part of QT resources, so you'd have to "compile" those resources. So if you are sitting in snakefire development directory (meaning you should see the resources/ and snakefire/ directories), you'd compile with:

$ pyrcc4 resources/snakefire.qrc > snakefire/resources.py
marke123 commented 12 years ago

I can do that, no problem. I just tried it and got an error:

pyrcc4 Parse Error:snakefire/resources.py : 1 : 1 [error occurred while parsing element]

What's that about?

marke123 commented 12 years ago

Aha! The command wasn't quite right - needed the -o switch like this:

pyrcc4 resources/snakefire.qrc -o snakefire/resources.py