Fix a crash bug in msfgui, thanks Donnie Werner
git-svn-id: file:///home/svn/framework3/trunk@5956 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1935ad3ef7
commit
2f049269d6
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue