Fix a crash bug in msfgui, thanks Donnie Werner

git-svn-id: file:///home/svn/framework3/trunk@5956 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2008-11-19 06:25:24 +00:00
parent 1935ad3ef7
commit 2f049269d6
1 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,9 @@ module Msf
@parent_remote_init = remote
# Define the icons for folders and files
@file_pixbuf = Gdk::Pixbuf.new(driver.get_image("msf_file.xpm"))
@folder_pixbuf = Gdk::Pixbuf.new(driver.get_image("msf_folder.xpm"))
@local_folder_pixbuf = Gdk::Pixbuf.new(driver.get_image("msf_local_folder.xpm"))
@file_pixbuf = driver.get_icon("msf_file.xpm")
@folder_pixbuf = driver.get_icon("msf_folder.xpm")
@local_folder_pixbuf = driver.get_icon("msf_local_folder.xpm")
@model_local.set_default_sort_func do |a, b|
if !a[COL_IS_DIR] and b[COL_IS_DIR]