def plugin_unloaded(): try: from package_control import events if events.remove(package_name): Tools.removePreferences() except: pass
def plugin_unloaded(): try: from package_control import events if events.remove(package_name): Tools.removePreferences() except: pass
def run(self): confirm = sublime.ok_cancel_dialog( _('confirm_del_pref'), _('continue')) if(confirm): Tools.removePreferences()
def run(self): confirm = sublime.ok_cancel_dialog(_('confirm_del_pref'), _('continue')) if (confirm): Tools.removePreferences()