[virt-tools-list] PING: [PATCH virt-manager] Add host name to window title

Pavel Fedin p.fedin at samsung.com
Mon Aug 24 06:55:35 UTC 2015


PING

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia


> -----Original Message-----
> From: virt-tools-list-bounces at redhat.com [mailto:virt-tools-list-bounces at redhat.com] On Behalf Of
> Pavel Fedin
> Sent: Friday, August 14, 2015 12:08 PM
> To: virt-tools-list at redhat.com
> Subject: [virt-tools-list] [PATCH virt-manager] Add host name to window title
> 
> Reports also host name in the title of machine properties window. Helps to
> differentiate between machines with similar names on different hosts.
> 
> Signed-off-by: Pavel Fedin <p.fedin at samsung.com>
> ---
>  virtManager/console.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/virtManager/console.py b/virtManager/console.py
> index b07ae72..2f14bcc 100644
> --- a/virtManager/console.py
> +++ b/virtManager/console.py
> @@ -215,7 +215,7 @@ class vmmConsolePages(vmmGObjectUI):
>      #################
> 
>      def _change_title(self, ignore1=None):
> -        title = self.vm.get_name_or_title() + " " + _("Virtual Machine")
> +        title = self.vm.get_name_or_title() + " " + _("Virtual Machine") + " @ " +
> self.vm.conn.libvirt_gethostname()
> 
>          if self._pointer_is_grabbed and self._viewer:
>              keystr = self._viewer.console_get_grab_keys()
> --
> 2.1.4
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list




More information about the virt-tools-list mailing list