stock_pixbuf_gdk(cw->list_view, STOCK_PIXMAP_ADDR_ONE, &email_pixbuf);
g_object_ref(G_OBJECT(email_pixbuf));
}
- /* printf( "\t\tAdding :%s\n", address ); */
+ /* g_print( "\t\tAdding :%s\n", address ); */
if (strstr(address, " <!--___group___-->")) {
is_group = TRUE;
if (_groupAddresses_)
node = _displayQueue_;
while( node ) {
address = node->data;
- /* printf( "address ::: %s :::\n", address ); */
+ /* g_print( "address ::: %s :::\n", address ); */
addrcompl_add_entry( _compWindow_, address );
g_free( address );
node = g_list_next( node );
GList *node;
gchar *address;
- /* printf( "addrcompl_callback_entry::queryID=%d\n", queryID ); */
+ /* g_print( "addrcompl_callback_entry::queryID=%d\n", queryID ); */
pthread_mutex_lock( & _completionMutex_ );
if( queryID == _queryID_ ) {
/* Append contents to end of display queue */
ItemEMail *email = node->data;
address = addritem_format_email( email );
- /* printf( "\temail/address ::%s::\n", address ); */
+ /* g_print( "\temail/address ::%s::\n", address ); */
_displayQueue_ = g_list_append( _displayQueue_, address );
node = g_list_next( node );
}
gchar *address;
address = get_complete_address( count );
- /* printf( "\taddress ::%s::\n", address ); */
+ /* g_print( "\taddress ::%s::\n", address ); */
/* Append contents to end of display queue */
addrcompl_add_queue( address );
_queryID_ = addrindex_setup_search(
searchTerm, NULL, addrcompl_callback_entry );
g_free( searchTerm );
- /* printf( "addrcompl_start_search::queryID=%d\n", _queryID_ ); */
+ /* g_print( "addrcompl_start_search::queryID=%d\n", _queryID_ ); */
/* Load local stuff */
addrcompl_load_local();
/* Sit back and wait until something happens */
_completionIdleID_ =
g_idle_add( ( GtkFunction ) addrcompl_idle, NULL );
- /* printf( "addrindex_start_search::queryID=%d\n", _queryID_ ); */
+ /* g_print( "addrindex_start_search::queryID=%d\n", _queryID_ ); */
addrindex_start_search( _queryID_ );
}
/* get an address component from the cursor */
searchTerm = get_address_from_edit( entry, &cursor_pos );
if( ! searchTerm ) return FALSE;
- /* printf( "search for :::%s:::\n", searchTerm ); */
+ /* g_print( "search for :::%s:::\n", searchTerm ); */
/* Clear any existing search */
g_free( _compWindow_->searchTerm );
* Setup completion object.
*/
void addrcompl_initialize( void ) {
- /* printf( "addrcompl_initialize...\n" ); */
+ /* g_print( "addrcompl_initialize...\n" ); */
if( ! _compWindow_ ) {
_compWindow_ = addrcompl_create_window();
}
_queryID_ = 0;
_completionIdleID_ = 0;
- /* printf( "addrcompl_initialize...done\n" ); */
+ /* g_print( "addrcompl_initialize...done\n" ); */
}
/**
* Teardown completion object.
*/
void addrcompl_teardown( void ) {
- /* printf( "addrcompl_teardown...\n" ); */
+ /* g_print( "addrcompl_teardown...\n" ); */
addrcompl_free_window( _compWindow_ );
_compWindow_ = NULL;
if( _displayQueue_ ) {
}
_displayQueue_ = NULL;
_completionIdleID_ = 0;
- /* printf( "addrcompl_teardown...done\n" ); */
+ /* g_print( "addrcompl_teardown...done\n" ); */
}
/*