diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-29 18:10:17 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-29 18:10:17 +0200 |
commit | aa08665949da429660dd78a6d26a0fc3cb11d6cd (patch) | |
tree | 14a1b12d7251a745a0047e6b766110648406611d | |
parent | e2b73a97a213d6b317e5410b0dc9d931686442d2 (diff) | |
download | abrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.tar.gz abrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.tar.xz abrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.zip |
gui: fixed the prgname trac#180
-rw-r--r-- | src/gui-gtk/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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"); |