2 This page is in the table of contents.
3 Description is a script to store a description of the profile.
7 Default is 'Write your profile description here.'
9 The suggested format is a description, followed by a link to a profile post or web page.
12 Example of using description follows below.
14 > python description.py
15 This brings up the description dialog.
19 from __future__ import absolute_import
21 from fabmetheus_utilities import settings
22 from skeinforge_application.skeinforge_utilities import skeinforge_profile
25 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
26 __date__ = '$Date: 2008/21/04 $'
27 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
30 def getNewRepository():
32 return DescriptionRepository()
35 class DescriptionRepository(object):
36 "A class to handle the description settings."
38 "Set the default settings, execute title & settings fileName."
39 skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.meta_plugins.description.html', self)
40 description = 'Write your description of the profile here.\n\nSuggested format is a description, followed by a link to the profile post or web page.'
41 self.descriptionText = settings.TextSetting().getFromValue('Description Text:', self, description)
45 "Display the file or directory dialog."
46 settings.startMainLoopFromConstructor(getNewRepository())
48 if __name__ == "__main__":