Enlightenment CVS committal
Author : lok
Project : e17
Module : proto
Dir : e17/proto/ruby-efl/src/enhance
Modified Files:
handmade.rb
Log Message:
Little change on the autoconnect.
Renamed class FileChooser in FilechooserWidget.
===================================================================
RCS file: /cvs/e/e17/proto/ruby-efl/src/enhance/handmade.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- handmade.rb 14 Aug 2006 20:33:03 -0000 1.2
+++ handmade.rb 15 Aug 2006 23:02:15 -0000 1.3
@@ -31,7 +31,7 @@
def autoconnect(handlers_holder)
each_widget { |widget_name|
- widget = Etk::Widget.wrap(self.var_get(widget_name))
+ widget = self.var_get(widget_name)
each_signal(widget_name) { |signal_name, handler_name|
@@ -53,7 +53,9 @@
# connect it to the widget
hand_proc = hand_proc.to_proc
sig = sig.new &hand_proc
- widget << sig
+ if sig != nil and widget != nil
+ widget << sig
+ end
}
}
end
@@ -83,6 +85,4 @@
return w if kl.nil?
return kl.wrap(w)
end
-end
-
end
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs