[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 4/7] ui: fix the default choice in the 'advanced storage options' dialog.



Ack.

--
Martin Sivák
msivak redhat com
Red Hat Czech
Anaconda team / Brno, CZ

----- "Ales Kozumplik" <akozumpl redhat com> wrote:

> note that the list of buttons in the radio group have them in reverse
> order as specified in the glade .xml.
> ---
>  pyanaconda/iw/advanced_storage.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/iw/advanced_storage.py
> b/pyanaconda/iw/advanced_storage.py
> index 2f6b487..130fa18 100644
> --- a/pyanaconda/iw/advanced_storage.py
> +++ b/pyanaconda/iw/advanced_storage.py
> @@ -222,9 +222,9 @@ def addDrive(anaconda):
>          dxml.get_widget("fcoeRadio").set_sensitive(False)
>          dxml.get_widget("fcoeRadio").set_active(False)
>  
> -    #figure out what advanced devices we have available and set
> sensible default
> +    #figure out what advanced devices we have available and put focus
> on the first one
>      group = dxml.get_widget("iscsiRadio").get_group()
> -    for button in group:
> +    for button in reversed(group):
>          if button is not None and button.get_property("sensitive"):
>              button.set_active(True)
>              button.grab_focus()
> -- 
> 1.7.1.1
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]