Re: Really Minor Patch. :)



On Mon, 14 Jun 1999, Mathieu Fenniak wrote:

> The attached minor patch adds a popt table to be parsed, and the command line
> option -c --checkmail to check mail upon startup, just as if you had hit the
> check mail button. This patch also includes updates to the address book patch I
> recently sent here, and thus that patch is needed for this to work. It adds
> functionality to the 'Import' button (now 'Re-Import'), and changes the add
> button to a 'Run GnomeCard' button that doesn't function completely. (Can
> someone find out why? I don't know much about forking and using execlp, or
> whatever I used. :)

I don't why that happens and right now I don't have much like to dig it 
but a quick hack would be the use of this code

	system ("gnomecard");

instead of

	gint            forkpid;
	forkpid = fork();
	if (forkpid == 0) {
		execlp("gnomecard", NULL);
	}


                                               Bruno Pires Marinho
                                      http://camoes.rnl.ist.utl.pt/~bapm/





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