[epiphany/gnome-2-28] Set program name to match the desktop file



commit f0e7cc5af163c6ed16c4450115b61bfa0822b80a
Author: Gustavo Noronha Silva <gns gnome org>
Date:   Thu Nov 12 11:09:06 2009 -0200

    Set program name to match the desktop file

 src/ephy-main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 5daca6f..ac6251b 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -494,6 +494,9 @@ main (int argc,
 	 */
 	LIBXML_TEST_VERSION;
 
+	/* sets name to help matching with the .desktop file */
+	g_set_prgname ("epiphany");
+
 	/* If we're given -remote arguments, translate them */
 	if (argc >= 2 &&
 	    strcmp (argv[1], "-remote") == 0)



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