- cleanup

git-svn-id: file:///home/svn/framework3/trunk@4329 4d416f70-5f16-0410-b530-b9f4589650da
unstable
fab 2007-02-06 21:43:06 +00:00
parent c23760c445
commit 0fcadc33bb
1 changed files with 1 additions and 7 deletions

View File

@ -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.