Re: [PATCH remote-viewer] Set the remote-viewer binary application name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack

----- Mensaje original -----
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Currently the window titles for remote-view have 'remote-viewer'
> appended them. This is based off the argv[0] name. We should be
> setting the GLib application name though, so we can get a localized
> 'Remote Viewer' string in the titlebar
> ---
>  src/remote-viewer-main.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c
> index 230c1cd..b260c85 100644
> --- a/src/remote-viewer-main.c
> +++ b/src/remote-viewer-main.c
> @@ -246,6 +246,8 @@ main(int argc, char **argv)
>      bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
>      textdomain(GETTEXT_PACKAGE);
>  
> +    g_set_application_name(_("Remote Viewer"));
> +
>      /* Setup command line options */
>      context = g_option_context_new (_("- Remote viewer client"));
>      g_option_context_add_main_entries (context, options, NULL);
> --
> 1.7.7.6
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/virt-tools-list
> 


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux