[PATCH] Rework the reclaim dialog to have a resize slider.
clumens at redhat.com
clumens at redhat.com
Mon Jan 14 19:58:35 UTC 2013
> @@ -147,25 +147,26 @@ class ResizeDialog(GUIObject):
> # Devices that are not resizable are still deletable.
> if dev.resizable:
> freeSize = dev.size - dev.minSize
> + resizeString = _("%s of %s") % (size_str(freeSize), size_str(dev.size))
> if not dev.protected:
> canShrinkSomething = True
> else:
> freeSize = dev.size
> + resizeString = _("Not resizeable")
I've made a slight alteration here to have this text displayed in grey.
It looks pretty good.
- Chris
More information about the anaconda-patches
mailing list