gyrus r331 - in branches/gyrus-python: . src



Author: csaavedra
Date: Thu Mar  6 03:05:19 2008
New Revision: 331
URL: http://svn.gnome.org/viewvc/gyrus?rev=331&view=rev

Log:
2008-03-05  Alejandro Valdes Jimenez  <avaldes utalca cl>

	* src/gyrus.py: get the page number correctly to change the
 	status of the ActionGroup. Fixes bug #520318.




Modified:
   branches/gyrus-python/ChangeLog
   branches/gyrus-python/src/gyrus.py

Modified: branches/gyrus-python/src/gyrus.py
==============================================================================
--- branches/gyrus-python/src/gyrus.py	(original)
+++ branches/gyrus-python/src/gyrus.py	Thu Mar  6 03:05:19 2008
@@ -441,7 +441,8 @@
 
 
 	def on_notebook_switch_page(self,notebook,page,page_num):
-		admin = self.get_current_gyrus_admin()
+ 		table = notebook.get_nth_page (page_num)
+ 		admin = self.imap_server[table]
 		self.verify_sensitive_actiongroup (admin)
 
 



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