From aa08665949da429660dd78a6d26a0fc3cb11d6cd Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 29 Mar 2011 18:10:17 +0200 Subject: gui: fixed the prgname trac#180 --- src/gui-gtk/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui-gtk') diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c index 4602012c..b3f6bdc2 100644 --- a/src/gui-gtk/main.c +++ b/src/gui-gtk/main.c @@ -147,6 +147,11 @@ int main(int argc, char **argv) textdomain(PACKAGE); #endif + /* without this the name is set to argv[0] which confuses + * desktops which uses the name to find the corresponding .desktop file + * trac#180 + */ + g_set_prgname("abrt"); gtk_init(&argc, &argv); char *env_verbose = getenv("ABRT_VERBOSE"); -- cgit