More responsive splash screen, shorten name of std jobs name
git-svn-id: file:///home/svn/framework3/trunk@5321 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4adece5e53
commit
4cd79e98e5
|
@ -106,7 +106,7 @@ module Msf
|
|||
# Add Parent "One shot"
|
||||
@oneshot_iter = @model.append(nil)
|
||||
@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
|
||||
@menu_job = Gtk::Menu.new
|
||||
|
@ -234,7 +234,7 @@ module Msf
|
|||
# Add Parent "One shot"
|
||||
@oneshot_iter = @model.append(nil)
|
||||
@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
|
||||
|
|
|
@ -224,6 +224,12 @@ module Gtk2
|
|||
|
||||
mod_exploits = {}
|
||||
framework.exploits.each_module do |mod, obj|
|
||||
|
||||
while (Gtk.events_pending?)
|
||||
Gtk.main_iteration
|
||||
end
|
||||
|
||||
|
||||
parts = mod.split("/")
|
||||
name = parts.pop
|
||||
ref = mod_exploits
|
||||
|
@ -248,6 +254,11 @@ module Gtk2
|
|||
|
||||
mod_auxiliary = {}
|
||||
framework.auxiliary.each_module do |mod, obj|
|
||||
|
||||
while (Gtk.events_pending?)
|
||||
Gtk.main_iteration
|
||||
end
|
||||
|
||||
parts = mod.split("/")
|
||||
name = parts.pop
|
||||
ref = mod_auxiliary
|
||||
|
|
Loading…
Reference in New Issue