accerciser r581 - in trunk: . po



Author: eitani
Date: Fri Jun 13 00:50:41 2008
New Revision: 581
URL: http://svn.gnome.org/viewvc/accerciser?rev=581&view=rev

Log:
* pyreqs.py: Make pyreqs behave nicely in a headless build
environment (bug #528828).

* po/LINGUAS: Fixed build issue - bugs 537272 and 536468. 
Thanks David Fuereder!

* accerciser.desktop.in.in: 
* po/ar.po: 
* po/bg.po: 
* po/bn.po: 
* po/bn_IN.po: 
* po/ca.po: 
* po/cs.po: 
* po/da.po: 
* po/de.po: 
* po/dz.po: 
* po/el.po: 
* po/en_CA.po: 
* po/en_GB.po: 
* po/es.po: 
* po/fi.po: 
* po/fr.po: 
* po/gl.po: 
* po/gu.po: 
* po/he.po: 
* po/hi.po: 
* po/hu.po: 
* po/it.po: 
* po/ja.po: 
* po/lt.po: 
* po/lv.po: 
* po/mk.po: 
* po/ml.po: 
* po/nb.po: 
* po/nl.po: 
* po/oc.po: 
* po/or.po: 
* po/pa.po: 
* po/pl.po: 
* po/pt.po: 
* po/pt_BR.po: 
* po/ru.po: 
* po/si.po: 
* po/sl.po: 
* po/sq.po: 
* po/sv.po: 
* po/te.po: 
* po/th.po: 
* po/tr.po: 
* po/uk.po: 
* po/vi.po: 
* po/zh_CN.po: Fixed desktop file typo (bug #520729). 
Thanks Pedro Fragoso!


Modified:
   trunk/ChangeLog
   trunk/accerciser.desktop.in.in
   trunk/po/ar.po
   trunk/po/bg.po
   trunk/po/bn.po
   trunk/po/bn_IN.po
   trunk/po/ca.po
   trunk/po/cs.po
   trunk/po/da.po
   trunk/po/de.po
   trunk/po/dz.po
   trunk/po/el.po
   trunk/po/en_CA.po
   trunk/po/en_GB.po
   trunk/po/es.po
   trunk/po/fi.po
   trunk/po/fr.po
   trunk/po/gu.po
   trunk/po/he.po
   trunk/po/hi.po
   trunk/po/hu.po
   trunk/po/it.po
   trunk/po/ja.po
   trunk/po/lt.po
   trunk/po/lv.po
   trunk/po/mk.po
   trunk/po/ml.po
   trunk/po/nb.po
   trunk/po/nl.po
   trunk/po/oc.po
   trunk/po/or.po
   trunk/po/pa.po
   trunk/po/pl.po
   trunk/po/pt.po
   trunk/po/pt_BR.po
   trunk/po/ru.po
   trunk/po/si.po
   trunk/po/sl.po
   trunk/po/sq.po
   trunk/po/sv.po
   trunk/po/te.po
   trunk/po/th.po
   trunk/po/tr.po
   trunk/po/uk.po
   trunk/po/vi.po
   trunk/po/zh_CN.po
   trunk/pyreqs.py

Modified: trunk/accerciser.desktop.in.in
==============================================================================
--- trunk/accerciser.desktop.in.in	(original)
+++ trunk/accerciser.desktop.in.in	Fri Jun 13 00:50:41 2008
@@ -1,12 +1,11 @@
 [Desktop Entry]
-Encoding=UTF-8
-_Name=Accerciser Accesibility Explorer
+_Name=Accerciser Accessibility Explorer
 _Comment=Give your application an accessibility workout
 Terminal=false
 Type=Application
 Exec= prefix@/bin/accerciser
 StartupNotify=true
-Categories=Application;Development;
+Categories=Development;
 Icon=accerciser
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=accerciser

Modified: trunk/pyreqs.py
==============================================================================
--- trunk/pyreqs.py	(original)
+++ trunk/pyreqs.py	Fri Jun 13 00:50:41 2008
@@ -11,7 +11,7 @@
 this distribution, and is available at 
 U{http://www.opensource.org/licenses/bsd-license.php}
 '''
-import sys, os
+import sys, os, imp
 
 PYGTK_REQ = '2.0'
 GTK_VERSION = (2, 8, 0)
@@ -47,9 +47,17 @@
 # Check pyatspi.
 # TODO: This should be done by comparing versions, for now we
 # will just check the API.
-import pyatspi
 try:
-  pyatspi.Registry.pumpQueuedEvents
-except AttributeError:
+  pyatspi_path = imp.find_module('pyatspi')[1]
+  sys.path.insert(0, pyatspi_path)
+  import ORBit
+  ORBit.load_typelib('Accessibility')
+  import registry
+  sys.path.pop(0)
+except ImportError:
+  print 'Error importing pyatspi registry module'
+  sys.exit(1)
+
+if not hasattr(registry.Registry, 'pumpQueuedEvents'):
   print 'Newer version of pyatspi required (>= 1.22.0)'
   sys.exit(1)



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