Use gray instead of white for inactive items
git-svn-id: file:///home/svn/framework3/trunk@5305 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
c376951b30
commit
b202317a29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue