[et-mgmt-tools] [PATCH] virt-viewer: use gtk option parsing

Guido Günther agx at sigxcpu.org
Fri Apr 25 13:25:07 UTC 2008


On Tue, Apr 22, 2008 at 03:16:09PM +0100, Daniel P. Berrange wrote:
> On Tue, Apr 22, 2008 at 04:06:23PM +0200, Guido G?nther wrote:
> > ...this allows to pass gtk specific options like --sync since since they
> > will be stripped from argv by gtk_init.
> 
> Thanks, I have applied this. virt-viewer should really be changed so
> that it uses the GTK option parsing code instead of getopt(). For that
> matter, so should virt-manager.
The attached patch does this for virt-viewer. The nice thing is that we
get the gtk-vnc options for free.
Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk-options.diff
Type: text/x-diff
Size: 3908 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080425/8d209e29/attachment.bin>


More information about the et-mgmt-tools mailing list