Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Get the craft type from the profile.

        def getCraftTypeName(subName=''):
	"Get the craft type from the profile."
	profileSettings = getReadProfileRepository()
	craftTypeName = settings.getSelectedPluginName( profileSettings.craftRadios )
	if subName == '':
		return craftTypeName
	return os.path.join( craftTypeName, subName )
        


src/s/o/Software-HEAD/pronterface/printrun/SkeinforgeQuickEditDialog.py   Software(Download)
    def __set_properties(self):
        self.profileName = skeinforge_profile.getProfileName(skeinforge_profile.getCraftTypeName())
        self.SetTitle("Skeinforge Quick Edit Profile: " + self.profileName)
 
        # For some reason the dialog size is not consistent between Windows and Linux - this is a hack to get it working

src/r/2/R2C2_Software-HEAD/printrun/SkeinforgeQuickEditDialog.py   R2C2_Software(Download)
    def __set_properties(self):
        self.profileName = skeinforge_profile.getProfileName(skeinforge_profile.getCraftTypeName())
        self.SetTitle("Skeinforge Quick Edit Profile: " + self.profileName)
 
        # For some reason the dialog size is not consistent between Windows and Linux - this is a hack to get it working 

src/p/r/probz-HEAD/SkeinforgeQuickEditDialog.py   probz(Download)
    def __set_properties(self):
        self.profileName = skeinforge_profile.getProfileName(skeinforge_profile.getCraftTypeName())
        self.SetTitle("Skeinforge Quick Edit Profile: " + self.profileName)
 
        # For some reason the dialog size is not consistent between Windows and Linux - this is a hack to get it working