Ejemplo n.º 1
0
 def display_list(self, installed):
     self.status.stop()
     if not installed:
         status.error('No packages installed! Please install some first.')
         return
     self.list = installed
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 2
0
 def display_list(self, installed):
     self.status.stop()
     if not installed:
         status.error('No packages installed! Please install some first.')
         return
     self.list = installed
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 3
0
 def install_success(self, success):
     self.status.stop()
     if success:
         status.message('Package installed successfully!')
     else:
         status.error(
             'Package install was unsuccessful. Please check console.')
Ejemplo n.º 4
0
 def display_list(self, installed):
     self.status.stop()
     if not installed:
         status.error('No packages installed! Please install some first.')
         return
     allPackage = 'Update all packages'
     self.list = [allPackage]
     self.list.extend(installed)
     print(self.list)
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 5
0
 def display_list(self, repo):
     self.status.stop()
     if not repo:
         status.error('Package list not found. Please check internet ' +
                      'connection or enable debug in the settings and ' +
                      'report the stack traces.')
         return
     self.repo = repo
     self.list = repo.list()
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 6
0
 def display_list(self, repo):
     self.status.stop()
     if not repo:
         status.error('Package list not found. Please check internet ' +
                      'connection or enable debug in the settings and ' +
                      'report the stack traces.')
         return
     self.repo = repo
     self.list = repo.list()
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 7
0
 def display_list(self, installed):
     self.status.stop()
     if not installed:
         status.error('No packages installed! Please install some first.')
         return
     allPackage = 'Update all packages'
     self.list = [allPackage]
     self.list.extend(installed)
     print(self.list)
     self.window.show_quick_panel(self.list, self.on_select)
Ejemplo n.º 8
0
 def remove_success(self, success):
     self.status.stop()
     if success:
         status.message('Package removed.')
     else:
         status.error('Package removal was unsuccessful.')
Ejemplo n.º 9
0
 def install_success(self, success):
     self.status.stop()
     if success:
         status.message('Package installed successfully!')
     else:
         status.error('Package install was unsuccessful. Please check console.')
Ejemplo n.º 10
0
 def remove_success(self, success):
     self.status.stop()
     if success:
         status.message('Package removed.')
     else:
         status.error('Package removal was unsuccessful.')