- cleanup
git-svn-id: file:///home/svn/framework3/trunk@4329 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
c23760c445
commit
0fcadc33bb
|
@ -77,17 +77,11 @@ class Driver < Msf::Ui::Driver
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns a new Wx::Icon object
|
# Returns a new Gdk::Pixbuf object
|
||||||
#
|
#
|
||||||
def get_icon(name)
|
def get_icon(name)
|
||||||
Gdk::Pixbuf.new(File.join(resource_directory, 'pix', name))
|
Gdk::Pixbuf.new(File.join(resource_directory, 'pix', name))
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_icon(pix, style, text)
|
|
||||||
test = Gtk::Window.new
|
|
||||||
#puts test
|
|
||||||
return test.render_icon(pix, style, text)
|
|
||||||
end
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# The framework instance associated with this driver.
|
# The framework instance associated with this driver.
|
||||||
|
|
Loading…
Reference in New Issue