Re: URL handling broken?



On 2001.08.16 11:04 Ali Akcaagac wrote:
> On 2001.08.16 09:18:06 +0200 Toralf Lund wrote:
> > My version of balsa built from yesterday's CVS sources will hang when I
> > click on an (auto-generated) http: link in a message. Is anyone else
> seeing
> > this?
> 
> no, works perfectly here.
That's odd... In any case,

--- src/balsa-message.c	2001/08/10 13:40:52	1.174
+++ src/balsa-message.c	2001/08/16 12:06:52
@@ -2019,7 +2019,7 @@
 	    gchar *exe_str, *cps = g_strdup(cmd);
 	    cps[fpos - cmd + 1] = 's';
 	    exe_str = g_strdup_printf(cps, info->body->temp_filename);
-	    gnome_execute_shell(NULL, exe_str);
+	    system(exe_str);
 	    fprintf(stderr, "Executed: %s\n", exe_str);
             g_free (cps);
             g_free (exe_str);

makes the problem go away. I don't think it's the right thing to do,
though...

- Toralf




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]