diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-24 15:03:42 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-24 15:03:42 +0200 |
commit | 91203130d6961ce7dbc97bda67fac96caf498bce (patch) | |
tree | d4f12bdabe4b3b19700910167727b21dbf518d52 /src | |
parent | d7d556c512c9e22702d4123e95a16398df148489 (diff) | |
parent | 994540994aa55146c6b68348147b4046d1fed975 (diff) | |
download | abrt-91203130d6961ce7dbc97bda67fac96caf498bce.tar.gz abrt-91203130d6961ce7dbc97bda67fac96caf498bce.tar.xz abrt-91203130d6961ce7dbc97bda67fac96caf498bce.zip |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src')
-rw-r--r-- | src/Applet/CCApplet.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Applet/CCApplet.cpp b/src/Applet/CCApplet.cpp index bebc2f92..8f01133e 100644 --- a/src/Applet/CCApplet.cpp +++ b/src/Applet/CCApplet.cpp @@ -158,10 +158,9 @@ void CApplet::OnAppletActivate_CB(GtkStatusIcon *status_icon,gpointer user_data) if (pid == 0) { /* child */ signal(SIGCHLD, SIG_DFL); /* undo SIG_IGN in abrt-applet */ - /* execlp searches PATH. We do not need to supply the path this way, - * and user has a freedom to install abrt-gui whereever he pleases. - * He just needs to set up PATH accordingly. - */ + execl(BIN_DIR"/abrt-gui", "abrt-gui", (char*) NULL); + /* Did not find abrt-gui in installation directory. Oh well */ + /* Trying to find it in PATH */ execlp("abrt-gui", "abrt-gui", (char*) NULL); std::cerr << "can't exec abrt-gui\n"; exit(1); |