[Libguestfs] [PATCH 33/61] p2v: newmain - show fake widgets helper

Maros Zatko mzatko at redhat.com
Wed Feb 12 14:30:45 UTC 2014


---
 p2v/client/lib/virt-p2v/ui/main.rb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/p2v/client/lib/virt-p2v/ui/main.rb b/p2v/client/lib/virt-p2v/ui/main.rb
index 2d36028..75815e0 100644
--- a/p2v/client/lib/virt-p2v/ui/main.rb
+++ b/p2v/client/lib/virt-p2v/ui/main.rb
@@ -383,6 +383,13 @@ class NewMain < Main
       end
   end
 
+  def show_widgets_from_params(names)
+      # a little debug helper
+      names.each do |p|
+        puts "#{p} is '#{get_object(p).text}'"
+      end
+  end
+
   def call_actions_by_name(names)
       names.each do |n|
         @signal_handlers[n].call
-- 
1.8.3.1




More information about the Libguestfs mailing list