jdahlin - in flumotion/trunk: . data/glade flumotion/admin/gtk

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Tue Dec 18 14:47:16 CET 2007


Author: jdahlin
Date: Tue Dec 18 14:46:47 2007
New Revision: 6014

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/data/glade/authenticate.glade
   flumotion/trunk/flumotion/admin/gtk/connections.py
Log:
2007-12-18  Johan Dahlin  <johan at gnome.org>

	* data/glade/authenticate.glade: 
	* flumotion/admin/gtk/connections.py (Authenticate.on_passwd_entry_activate): 
	Go to the next step of the wizard when pressing enter in the password
	entry.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Tue Dec 18 14:46:47 2007
@@ -1,3 +1,10 @@
+2007-12-18  Johan Dahlin  <johan at gnome.org>
+
+	* data/glade/authenticate.glade: 
+	* flumotion/admin/gtk/connections.py (Authenticate.on_passwd_entry_activate): 
+	Go to the next step of the wizard when pressing enter in the password
+	entry.
+
 2007-12-18  Michael Smith <msmith at fluendo.com>
 
 	* flumotion/manager/admin.py:

Modified: flumotion/trunk/data/glade/authenticate.glade
==============================================================================
--- flumotion/trunk/data/glade/authenticate.glade	(original)
+++ flumotion/trunk/data/glade/authenticate.glade	Tue Dec 18 14:46:47 2007
@@ -127,6 +127,7 @@
 	  <property name="invisible_char">*</property>
 	  <property name="activates_default">True</property>
 	  <signal name="changed" handler="on_entries_changed" last_modification_time="Fri, 21 Jan 2005 17:48:49 GMT"/>
+	  <signal name="activate" handler="on_passwd_entry_activate" last_modification_time="Fri, 21 Jan 2005 17:48:49 GMT"/>
 	</widget>
 	<packing>
 	  <property name="left_attach">1</property>

Modified: flumotion/trunk/flumotion/admin/gtk/connections.py
==============================================================================
--- flumotion/trunk/flumotion/admin/gtk/connections.py	(original)
+++ flumotion/trunk/flumotion/admin/gtk/connections.py	Tue Dec 18 14:46:47 2007
@@ -203,6 +203,10 @@
                                 lambda *x: self.passwd_entry.grab_focus())
         self.connect('grab-focus', self.on_grab_focus)
 
+    def on_passwd_entry_activate(self, entry):
+        toplevel = self.get_toplevel()
+        toplevel.wizard.next()
+
     def on_grab_focus(self, *args):
         self.user_entry.grab_focus()
 


More information about the flumotion-commit mailing list