[PATCH 1/7] Offer completions for new mountpoints.

Vratislav Podzimek vpodzime at redhat.com
Mon Aug 27 08:18:43 UTC 2012


On Fri, 2012-08-24 at 15:20 -0500, David Lehman wrote:
>  
> +        # sure, add whatever you want to this list. this is just a start.
> +        paths = ["/", "/boot", "/home", "/usr", "/var", "swap"]
> +        store = self.builder.get_object("mountPointStore")
> +        for path in paths:
> +            if path not in self.mountpoints:
> +                store.append([path])
> +
> +        completion = self.builder.get_object("mountPointCompletion")
> +        completion.set_text_column(0)
> +        completion.set_popup_completion(True)
Just a nitpick -- any reason why the last two lines are not set in the
glade file?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list