[LIBREPORT PATCH] use fros instead of hard dependency on recordmydesktop rhbz#958979
Jiri Moskovcak
jmoskovc at redhat.com
Mon Jun 3 19:55:37 UTC 2013
Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
src/gui-wizard-gtk/wizard.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index ba43a66..151d879 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -3142,9 +3142,8 @@ static void assistant_quit_cb(void *obj, void *data)
static void on_btn_startcast(GtkWidget *btn, gpointer user_data)
{
const char *args[15];
- args[0] = (char *) LIBEXEC_DIR"/abrt-screencast";
- args[1] = concat_path_file(g_dump_dir_name, "screencast.ogv");
- args[2] = NULL;
+ args[0] = (char *) "fros";
+ args[1] = NULL;
pid_t castapp = 0;
castapp = fork_execv_on_steroids(
@@ -3172,8 +3171,8 @@ static void on_btn_startcast(GtkWidget *btn, gpointer user_data)
static bool is_screencast_available()
{
const char *args[3];
- args[0] = (char *) LIBEXEC_DIR"/abrt-screencast";
- args[1] = "is-available";
+ args[0] = (char *) "fros";
+ args[1] = "--is-available";
args[2] = NULL;
pid_t castapp = 0;
--
1.8.2.1
More information about the Crash-catcher
mailing list