[virt-tools-list] [PATCH RFC] Add support for the new 'removable' disk flag.

Cole Robinson crobinso at redhat.com
Thu Oct 3 15:58:35 UTC 2013


On 10/02/2013 10:39 AM, Fred A. Kemp wrote:
> From: "Fred A. Kemp" <anonym at riseup.net>
> 
> This adds a GUI control for the disk setting introduced by commit
> feba2fe ("qemu: Support setting the 'removable' flag for USB disks") in
> libvirt, released in version 1.1.3.
> 
> The only issue I have (and hence the RFC) is that I, due to my limited
> experience with GTK and glade, cannot get the new checkbox to be of a
> reasonable width; no matter what I've tried, it either gets positioned
> weirdly (e.g. centered) or expand all the way horisontally/vertically.
> Any ideas?
> 

Probably need to change the widgets fill property to start, maybe tweak expand
as well. There can be expand/fill settings under the 'packing' tab for each
widget _and_ under the 'common' tab, usually the latter is what fixes things
for me.

- Cole

> Fred A. Kemp (1):
>   Add support for the new 'removable' disk flag.
> 
>  ui/details.ui            |   39 ++++++++++++++++++++++++++++++++++++++-
>  virtManager/details.py   |   16 +++++++++++++++-
>  virtManager/domain.py    |    4 ++++
>  virtManager/uihelpers.py |   13 +++++++++++++
>  virtinst/devicedisk.py   |    1 +
>  5 files changed, 71 insertions(+), 2 deletions(-)
> 




More information about the virt-tools-list mailing list