[Ocfs2-tools-commits] manish commits r742 - trunk/ocfs2console/ocfs2interface

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun Mar 27 16:05:23 CST 2005


Author: manish
Date: 2005-03-27 16:05:21 -0600 (Sun, 27 Mar 2005)
New Revision: 742

Modified:
   trunk/ocfs2console/ocfs2interface/ipwidget.py
Log:
Add set_text, and make entries activate default


Modified: trunk/ocfs2console/ocfs2interface/ipwidget.py
===================================================================
--- trunk/ocfs2console/ocfs2interface/ipwidget.py	2005-03-27 20:09:58 UTC (rev 741)
+++ trunk/ocfs2console/ocfs2interface/ipwidget.py	2005-03-27 22:05:21 UTC (rev 742)
@@ -71,6 +71,7 @@
 	    self.entrys[name] = gtk.Entry(3)
 	    self.entrys[name].set_size_request(50,-1)
 	    self.entrys[name].set_max_length(3)
+	    self.entrys[name].set_activates_default(True)
 
 	for i in range(0, len(ip_fields)):
 	    name = ip_fields[i]
@@ -142,6 +143,7 @@
             entry.emit_stop_by_name ("insert_text")
 
     get_text = dehydrate
+    set_text = hydrate
 
 
 



More information about the Ocfs2-tools-commits mailing list