~ubuntu-branches/ubuntu/utopic/gossip/utopic

« back to all changes in this revision

Viewing changes to src/gossip-log.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-11-09 15:27:50 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20061109152750-s1kuy6vs0qmqy3pc
Tags: 0.19-0ubuntu1
* New upstream release:
  - Added the ability to search back and forward through the search results 
    in log searching
  - Fixed "Common crasher with missing strlen()"
  - Fixed "Use avatars as window icons"
  - Fixed "Updated help documentation"
  - Translations: el, nl, sv, es, fi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
778
778
        }
779
779
 
780
780
        gossip_account_param_get (account, "id", &account_id, NULL);
781
 
        gossip_debug (DEBUG_DOMAIN, "No contacts file recorded against account id:'%s'...",
 
781
        gossip_debug (DEBUG_DOMAIN, 
 
782
                      "No contacts file recorded against account id:'%s'...",
782
783
                      account_id);
783
784
 
784
785
        account_id_escaped = log_escape (account_id);
1951
1952
                        account_id = log_get_account_id_from_filename (filename);
1952
1953
                        account = gossip_account_manager_find_by_id (manager, account_id);
1953
1954
 
 
1955
                        if (!account) {
 
1956
                                /* We must have other directories in
 
1957
                                 * here which are not account
 
1958
                                 * directories, so we just ignore them.
 
1959
                                 */
 
1960
                                g_free (account_id);
 
1961
                                continue;
 
1962
                        }
 
1963
 
1954
1964
                        contact_id = log_get_contact_id_from_filename (filename);
1955
1965
 
1956
1966
                        hit = g_new0 (GossipLogSearchHit, 1);
1964
1974
 
1965
1975
                        hits = g_list_append (hits, hit);
1966
1976
 
1967
 
                        gossip_debug (DEBUG_DOMAIN, "Found text:'%s' in file:'%s' on date:'%s'...",
1968
 
                                    text, hit->filename, hit->date);
 
1977
                        gossip_debug (DEBUG_DOMAIN, 
 
1978
                                      "Found text:'%s' in file:'%s' on date:'%s'...",
 
1979
                                      text, hit->filename, hit->date);
1969
1980
 
1970
1981
                        g_free (account_id);
1971
1982
                        g_free (contact_id);