Use gray instead of white for inactive items

git-svn-id: file:///home/svn/framework3/trunk@5305 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-21 02:19:08 +00:00
parent c376951b30
commit b202317a29
1 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ module Msf
if state
label.set_markup("<span foreground=\"black\"><b>#{text}</b></span>")
else
label.set_markup("<span foreground=\"white\">#{text}</span>")
label.set_markup("<span foreground=\"gray\">#{text}</span>")
end
return label
end
@ -194,7 +194,7 @@ module Msf
def refresh_label(hist, actual , nex)
if not (hist == nil)
hist.each do |label|
label.set_markup("<span foreground=\"white\"><i>#{label.text}</i></span>")
label.set_markup("<span foreground=\"gray\"><i>#{label.text}</i></span>")
end
end
@ -204,7 +204,7 @@ module Msf
if not (nex == nil)
nex.each do |label|
label.set_markup("<span foreground=\"white\">#{label.text}</span>")
label.set_markup("<span foreground=\"gray\">#{label.text}</span>")
end
end
end