ezkur / yad

Automatically exported from code.google.com/p/yad
GNU General Public License v3.0
0 stars 0 forks source link

What's the nomenclature of colors? #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Ubuntu 11.10 64 bits with Unity
yad 0.15.1 (installed from PPA)

I've tried with 
yad --text-info --title="$titulo" --text="Se ha producido algún error:" 
--image="dialog-error" --geometry=400x150+440+435 --fore="#a52a2a" 
--filename=$logfile 

But it doesn't change any color.
I've tested with --fore="a52a2a" and --fore="red" with same result: no color.

By other side when I execute yad always shows this line in console: 
"(yad:15774): Gtk-WARNING **: Theme parsing error: gtk.css:59:40: Missing 
opening bracket in color definition"
Perhaps this is the problem.

Original issue reported on code.google.com by si...@simonbcn.net on 24 Nov 2011 at 1:14

GoogleCodeExporter commented 8 years ago
can you remove or clear gtk.css and try this command again?

Original comment by ananasik on 25 Nov 2011 at 5:25

GoogleCodeExporter commented 8 years ago
I have tested with another theme in Gnome shell with same result: no color.
This time the gtk.css warning isn't showed.

Original comment by si...@simonbcn.net on 25 Nov 2011 at 7:55

GoogleCodeExporter commented 8 years ago
please? check the latest svn (r487)

Original comment by ananasik on 26 Nov 2011 at 6:18

GoogleCodeExporter commented 8 years ago
It changes the color of content of textbox but not the text of "--text='....'"

Original comment by si...@simonbcn.net on 26 Nov 2011 at 7:47

GoogleCodeExporter commented 8 years ago
in dialog text you must use pango makrup for change text attributes - 
http://developer.gnome.org/pango/stable/PangoMarkupFormat.html

try - --text="<span color='a52a2a'>Se ha producido algún error:</span>"

Original comment by ananasik on 27 Nov 2011 at 5:45