summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-04-23 11:04:10 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-04-23 11:04:10 +0100
commitdfbc9d2e8f5671d3317b3b4cbc559d04912a3daf (patch)
tree1208f8cf8c98bcb6c203e8aadabfc965047656aa
parent7ab88ea17946f4e9c1c4bdae44ceafc3b6f6e0dd (diff)
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
-rw-r--r--src/remote-viewer-main.c2
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);