virt-manager/virtman-finish-button-fix.diff
Charles Arnold 6505c36ecc - Upstream bug fixes
virtman-netstats-fix.diff                                                           
  virtman-finish-button-fix.diff                                                      
  virtman-shutoff-fix.diff                                                            
  virtman-set-has-window-fix.diff                                                     
  virtman-grep-fix.diff                                                               
  virtman-no-cd-present-fix.diff                                                      
  virtman-resize-menu-fix.diff                                                        
  virtman-vcpu-count-fix.diff                                                         
  virtman-storage-pool-fix.diff                                                       
  virtman-domain-name-fix.diff                                                        
  virtman-unapplied-changes-fix.diff                                                  
  virtman-details-fix.diff                                                            
  virtman-delete-fix.diff                                                             
  virtman-collidelist-fix.diff                                                        
  virtman-char-device-mode-fix.diff                                                   
  virtinst-hv-version-fix.diff                                                        
  virtinst-initrd-inject-fix.diff                                                     
  virtinst-initrd-inject2-fix.diff                                                    
  virtinst-no-volume-fix.diff                                                         
  virtinst-prompts-fix.diff                                                           
  virtinst-cpu-model-name-fix.diff                                                    
  virtinst-xml-clear-fix.diff                                                         
  virtinst-remote-storage-fix.diff                                                    
  virtinst-error-message-fix.diff                                                     
  virtinst-typo-fix.diff                                                              
  virtinst-cdrom.diff                                                                 
  virtinst-storage-ocfs2.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=63
2011-09-21 16:55:07 +00:00

72 lines
2.6 KiB
Diff

Subject: Fixed the Finish button on the start pool command.
From: Darryl L. Pierce dpierce@redhat.com Fri Jul 22 11:05:15 2011 -0400
Date: Sat Jul 30 07:53:47 2011 -0400:
Git: 2b5b8a8b35b79977a0e9aacf6a6fb6f48edf475f
The Finish button is now shown on the final page, and the final page
displays confirmation that a pool was stopped.
Subject: Fixed the Finish button on the stop pool command.
From: Darryl L. Pierce dpierce@redhat.com Fri Jul 22 11:20:15 2011 -0400
Date: Sat Jul 30 07:53:47 2011 -0400:
Git: 4ad89abd508d37e27df39de669c9ea83a77c22ac
The Finish button is now displayed on the last page where the stopping
is confirmed to the user.
Index: virt-manager-0.9.0/src/virtManagerTui/startpool.py
===================================================================
--- virt-manager-0.9.0.orig/src/virtManagerTui/startpool.py
+++ virt-manager-0.9.0/src/virtManagerTui/startpool.py
@@ -37,10 +37,6 @@ class StartStoragePoolConfigScreen(Stora
def page_has_next(self, page):
return page is LIST_POOLS_PAGE and self.has_selectable_pools()
- def page_has_back(self, page):
- ignore = page
- return False
-
def page_has_finish(self, page):
return page is FINAL_PAGE
@@ -55,10 +51,10 @@ class StartStoragePoolConfigScreen(Stora
def process_input(self, page):
if page is LIST_POOLS_PAGE:
self.get_libvirt().create_storage_pool(self.get_selected_pool())
- self.set_finished()
def get_final_page(self, screen):
ignore = screen
+ self.set_finished()
return [snack.Label("Storage pool started: %s" % self.get_selected_pool())]
def StartStoragePool():
Index: virt-manager-0.9.0/src/virtManagerTui/stoppool.py
===================================================================
--- virt-manager-0.9.0.orig/src/virtManagerTui/stoppool.py
+++ virt-manager-0.9.0/src/virtManagerTui/stoppool.py
@@ -37,10 +37,6 @@ class StopStoragePoolConfigScreen(Storag
def page_has_next(self, page):
return page is LIST_POOLS_PAGE and self.has_selectable_pools()
- def page_has_back(self, page):
- ignore = page
- return False
-
def page_has_finish(self, page):
return page is FINAL_PAGE
@@ -55,10 +51,10 @@ class StopStoragePoolConfigScreen(Storag
def process_input(self, page):
if page is LIST_POOLS_PAGE:
self.get_libvirt().destroy_storage_pool(self.get_selected_pool())
- self.set_finished()
def get_final_page(self, screen):
ignore = screen
+ self.set_finished()
return [snack.Label("Storage pool stopped: %s" % self.get_selected_pool())]
def StopStoragePool():