Пример #1
0
 def hide(self):
     '''
     Hide the progress dialog
     '''
     if self._active: self.status_icon.set_is_working(False)
     self._active = False
     #normalCursor(self.parent)
     self.dialog.hide()
     self.set_pulse(False)
     normalCursor(self.parent)
Пример #2
0
Файл: gui.py Проект: rbuj/yumex
 def update_console(self, key):
     '''
     update the console with information
     @param key: information to show (description,changelog,filelist)
     '''
     if self.pkg:
         busyCursor(self.main_window)
         self.console.clear()
         self._set_output_view(key)
         if key == 'description':
             self.show_description()
         elif key == 'changelog':
             self.show_changelog()
         elif key == 'filelist':
             self.show_filelist()
         elif key == 'update':
             self.show_update()
         elif key == 'deps':
             self.show_dependencies()
         self.console.goTop()
         normalCursor(self.main_window)