Set the remote-viewer binary application name

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
This commit is contained in:
Daniel P. Berrange 2012-04-23 11:04:10 +01:00
parent 7ab88ea179
commit dfbc9d2e8f

View File

@ -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);