[gucharmap] Set programme name explicitly
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] Set programme name explicitly
- Date: Tue, 13 Sep 2011 11:15:49 +0000 (UTC)
commit b3a1bcee5db7d91c07954be81d452877f0b215a9
Author: Christian Persch <chpe gnome org>
Date: Tue Sep 13 13:14:42 2011 +0200
Set programme name explicitly
To make gnome-shell app matching work correctly in the case where
gucharmap is started via the old compatibility symlink, set the
programme name explicitly to the desktop file name.
https://bugzilla.gnome.org/show_bug.cgi?id=653115
gucharmap/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gucharmap/main.c b/gucharmap/main.c
index 43aeb40..cb50871 100644
--- a/gucharmap/main.c
+++ b/gucharmap/main.c
@@ -67,6 +67,9 @@ main (int argc, char **argv)
g_thread_init (NULL);
#endif
+ /* Set programme name explicitly (see bug #653115) */
+ g_set_prgname("gucharmap");
+
if (!gtk_init_with_args (&argc, &argv, "", goptions, GETTEXT_PACKAGE, &error))
{
g_printerr ("%s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]