Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to Automatically add contacts to KAddressBook with KBBDB
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Re:Didn't work on Ubuntu Dapper/Edgy
Posted by: Anonymous Coward on January 12, 2007 06:51 AMusing this patch it would work.
--- kbbdb 2006-09-30 23:25:31.000000000 -0500
+++ kbbdb-tst 2007-01-11 17:45:55.000000000 -0500
@@ -182,12 +182,16 @@ END:VCARD
ENDPRINT
}
}
+
+
+my ($argumento) = "`cat $tempfile`" ;
+
#
# Send the file to KAddressBook
if ( @addresses )
{
close ( TEMP ) ;
- system ( "dcop kaddressbook KAddressBookIface importVCard file://$tempfile" ) ;
+ system ( "dcop kaddressbook AddressBookServiceIface importVCard\\(QString\\) \"$argumento\"" ) ;
unlink ( $tempfile ) ;
}
exit ( 0 ) ;
#