conduit r1258 - in trunk: . conduit/modules/GmailModule



Author: jstowers
Date: Mon Jan 21 19:38:17 2008
New Revision: 1258
URL: http://svn.gnome.org/viewvc/conduit?rev=1258&view=rev

Log:
2008-01-22  John Stowers  <john stowers gmail com>

	* conduit/modules/GmailModule/GmailModule.py:
	* conduit/modules/GmailModule/config.glade: Fix the config window
	so that it saves configuration information and hides the password.
	Fixes bug #511017 (Julian RÃtter)



Modified:
   trunk/ChangeLog
   trunk/conduit/modules/GmailModule/GmailModule.py
   trunk/conduit/modules/GmailModule/config.glade

Modified: trunk/conduit/modules/GmailModule/GmailModule.py
==============================================================================
--- trunk/conduit/modules/GmailModule/GmailModule.py	(original)
+++ trunk/conduit/modules/GmailModule/GmailModule.py	Mon Jan 21 19:38:17 2008
@@ -184,11 +184,12 @@
             searchFolderEmailsCb.set_active(False)
             folderComboBox.set_sensitive(False)
         usernameEntry.set_text(self.username)
+        passwordEntry.set_text(self.password)
         
         dlg = tree.get_widget("GmailSourceConfigDialog")
         
         response = Utils.run_dialog (dlg, window)
-        if response == gtk.RESPONSE_OK:
+        if response == True:
             self.set_configured(True)
             if searchAllEmailsCb.get_active():
                 self.getAllEmail = True

Modified: trunk/conduit/modules/GmailModule/config.glade
==============================================================================
--- trunk/conduit/modules/GmailModule/config.glade	(original)
+++ trunk/conduit/modules/GmailModule/config.glade	Mon Jan 21 19:38:17 2008
@@ -466,7 +466,7 @@
 	      <property name="visible">True</property>
 	      <property name="can_focus">True</property>
 	      <property name="editable">True</property>
-	      <property name="visibility">True</property>
+	      <property name="visibility">False</property>
 	      <property name="max_length">0</property>
 	      <property name="text" translatable="yes"></property>
 	      <property name="has_frame">True</property>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]