Example #1
0
    def open_general_script(self):
        """Opens the general script editor"""

        if self.switch(u'__general_script__'):
            return
        from libqtopensesame.widgets.general_script_editor import \
         general_script_editor
        self.add(general_script_editor(self.main_window),
                 u'utilities-terminal', _(u'General script editor'))
Example #2
0
	def open_general_script(self):
	
		"""Opens the general script editor"""
				
		if self.switch(u'__general_script__'):
			return
		from libqtopensesame.widgets.general_script_editor import \
			general_script_editor
		self.add(general_script_editor(self.main_window), u'terminal', \
			u'General script editor')