orca r4241 - branches/phase2/src/orca



Author: wwalker
Date: Thu Sep 18 13:52:19 2008
New Revision: 4241
URL: http://svn.gnome.org/viewvc/orca?rev=4241&view=rev

Log:
Just move a method to a different spot in the code.


Modified:
   branches/phase2/src/orca/plugin.py

Modified: branches/phase2/src/orca/plugin.py
==============================================================================
--- branches/phase2/src/orca/plugin.py	(original)
+++ branches/phase2/src/orca/plugin.py	Thu Sep 18 13:52:19 2008
@@ -42,16 +42,6 @@
         self._script = owner
         script.Script.__init__(self, owner, scriptSettings)
 
-    def getSettingsModuleName(self):
-        """Get the name of the module that would hold the user
-	settings for this plugin.
-        """
-        name = self._script.getSettingsModuleName()
-        name = name[0:name.rfind(".settings")]
-        if name and len(name):
-            name = name + __name__.strip("orca") + ".settings"
-        return name
-
     def _completeInit(self):
         """Completes the __init__ step.
         """
@@ -79,6 +69,16 @@
         # setting is done in one fell swoop.
         pass
 
+    def getSettingsModuleName(self):
+        """Get the name of the module that would hold the user
+	settings for this plugin.
+        """
+        name = self._script.getSettingsModuleName()
+        name = name[0:name.rfind(".settings")]
+        if name and len(name):
+            name = name + __name__.strip("orca") + ".settings"
+        return name
+
     def getPronunciations(self):
         """Defines the application specific pronunciations for this script.
 



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