From 486a29b4c7726827031a0696a4253a79bca3a39f Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 22 Jul 2009 13:40:37 +0200 Subject: Applet: more fixes to work if configure was run with non-default prefix --- src/Applet/CCApplet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Applet/CCApplet.cpp') diff --git a/src/Applet/CCApplet.cpp b/src/Applet/CCApplet.cpp index 13c734e..1988748 100644 --- a/src/Applet/CCApplet.cpp +++ b/src/Applet/CCApplet.cpp @@ -98,8 +98,8 @@ void CApplet::OnAppletActivate_CB(GtkStatusIcon *status_icon,gpointer user_data) { CApplet *applet = (CApplet *)user_data; FILE *gui = NULL; - //FIXME - use fork+exec and absolute paths? - gui = popen("/usr/bin/abrt-gui","r"); + //FIXME - use fork+exec and absolute paths? or dbus? + gui = popen((std::string(BIN_DIR) + "/abrt-gui").c_str(),"r"); gtk_status_icon_set_visible(applet->m_pStatusIcon,false); } -- cgit