More responsive splash screen, shorten name of std jobs name

git-svn-id: file:///home/svn/framework3/trunk@5321 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-22 06:09:52 +00:00
parent 4adece5e53
commit 4cd79e98e5
2 changed files with 13 additions and 2 deletions

View File

@ -106,7 +106,7 @@ module Msf
# Add Parent "One shot" # Add Parent "One shot"
@oneshot_iter = @model.append(nil) @oneshot_iter = @model.append(nil)
@oneshot_iter.set_value(PIX, driver.get_icon("menu_oneshot.png")) @oneshot_iter.set_value(PIX, driver.get_icon("menu_oneshot.png"))
@oneshot_iter.set_value(JID, "Standard") @oneshot_iter.set_value(JID, "Jobs")
# Job Gtk::Menu # Job Gtk::Menu
@menu_job = Gtk::Menu.new @menu_job = Gtk::Menu.new
@ -234,7 +234,7 @@ module Msf
# Add Parent "One shot" # Add Parent "One shot"
@oneshot_iter = @model.append(nil) @oneshot_iter = @model.append(nil)
@oneshot_iter.set_value(PIX, driver.get_icon("menu_oneshot.png")) @oneshot_iter.set_value(PIX, driver.get_icon("menu_oneshot.png"))
@oneshot_iter.set_value(JID, "Standard") @oneshot_iter.set_value(JID, "Jobs")
end end
end end

View File

@ -224,6 +224,12 @@ module Gtk2
mod_exploits = {} mod_exploits = {}
framework.exploits.each_module do |mod, obj| framework.exploits.each_module do |mod, obj|
while (Gtk.events_pending?)
Gtk.main_iteration
end
parts = mod.split("/") parts = mod.split("/")
name = parts.pop name = parts.pop
ref = mod_exploits ref = mod_exploits
@ -248,6 +254,11 @@ module Gtk2
mod_auxiliary = {} mod_auxiliary = {}
framework.auxiliary.each_module do |mod, obj| framework.auxiliary.each_module do |mod, obj|
while (Gtk.events_pending?)
Gtk.main_iteration
end
parts = mod.split("/") parts = mod.split("/")
name = parts.pop name = parts.pop
ref = mod_auxiliary ref = mod_auxiliary