def export_xml(self):
		dialog = gui_utilities.UtilityFileChooser('Export Campaign XML Data', self)
		file_name = self.config['campaign_name'] + '.xml'
		response = dialog.run_quick_save(file_name)
		dialog.destroy()
		if not response:
			return
		destination_file = response['target_filename']
		export.campaign_to_xml(self.rpc, self.config['campaign_id'], destination_file)
Beispiel #2
0
	def export_campaign_xml(self):
		"""Export the current campaign to an XML data file."""
		dialog = extras.FileChooserDialog('Export Campaign XML Data', self)
		file_name = self.config['campaign_name'] + '.xml'
		response = dialog.run_quick_save(file_name)
		dialog.destroy()
		if not response:
			return
		destination_file = response['target_path']
		export.campaign_to_xml(self.rpc, self.config['campaign_id'], destination_file)
Beispiel #3
0
	def export_campaign_xml(self):
		"""Export the current campaign to an XML data file."""
		dialog = extras.FileChooserDialog('Export Campaign XML Data', self)
		file_name = self.config['campaign_name'] + '.xml'
		response = dialog.run_quick_save(file_name)
		dialog.destroy()
		if not response:
			return
		destination_file = response['target_path']
		export.campaign_to_xml(self.rpc, self.config['campaign_id'], destination_file)
Beispiel #4
0
 def export_campaign_xml(self):
     """Export the current campaign to an XML data file."""
     dialog = gui_utilities.FileChooser("Export Campaign XML Data", self)
     file_name = self.config["campaign_name"] + ".xml"
     response = dialog.run_quick_save(file_name)
     dialog.destroy()
     if not response:
         return
     destination_file = response["target_path"]
     export.campaign_to_xml(self.rpc, self.config["campaign_id"], destination_file)