summaryrefslogtreecommitdiffstats
path: root/src/gui-gtk
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-03-29 18:10:17 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-03-29 18:10:17 +0200
commitaa08665949da429660dd78a6d26a0fc3cb11d6cd (patch)
tree14a1b12d7251a745a0047e6b766110648406611d /src/gui-gtk
parente2b73a97a213d6b317e5410b0dc9d931686442d2 (diff)
downloadabrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.tar.gz
abrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.tar.xz
abrt-aa08665949da429660dd78a6d26a0fc3cb11d6cd.zip
gui: fixed the prgname trac#180
Diffstat (limited to 'src/gui-gtk')
-rw-r--r--src/gui-gtk/main.c5
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");