~ubuntu-branches/ubuntu/quantal/folks/quantal

« back to all changes in this revision

Viewing changes to backends/tracker/lib/trf-persona.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-12 09:48:10 UTC
  • mfrom: (1.6.2)
  • Revision ID: package-import@ubuntu.com-20120912094810-6zlx8889hcovxj7p
Tags: 0.7.4.1-0ubuntu1
* New upstream bugfix release
* debian/control:
  - Bump build-depends on libglib2.0-dev, valac-0.18, libvala-0.18-dev
* debian/libfolks-eds25.symbols:
* debian/libfolks25.symbols:
  - Updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
   */
143
143
  public override string[] linkable_properties
144
144
    {
145
 
      get { return this._linkable_properties; }
 
145
      get { return Trf.Persona._linkable_properties; }
146
146
    }
147
147
 
148
148
  /**
152
152
   */
153
153
  public override string[] writeable_properties
154
154
    {
155
 
      get { return this._writeable_properties; }
 
155
      get { return Trf.Persona._writeable_properties; }
156
156
    }
157
157
 
158
158
  private LoadableIcon? _avatar = null;
511
511
  /**
512
512
   * Create a new persona.
513
513
   *
514
 
   * Create a new persona for the {@link PersonaStore} `store`, representing
 
514
   * Create a new persona for the {@link PersonaStore} ``store``, representing
515
515
   * the nco:Contact whose details are stored in the cursor.
516
516
   */
517
517
  public Persona (PersonaStore store, string tracker_id,
518
518
                  Sparql.Cursor? cursor = null)
519
519
    {
520
 
      string uid = this.build_uid (BACKEND_NAME, store.id, tracker_id);
521
 
      string iid = this.build_iid (store.id, tracker_id);
 
520
      string uid = Folks.Persona.build_uid (BACKEND_NAME, store.id, tracker_id);
 
521
      string iid = Trf.Persona.build_iid (store.id, tracker_id);
522
522
      bool is_user = false;
523
523
      string fullname = "";
524
524
 
1410
1410
 
1411
1411
              if (type != null)
1412
1412
                {
1413
 
                  url_fd.set_parameter (url_fd.PARAM_TYPE, type);
 
1413
                  url_fd.set_parameter (AbstractFieldDetails.PARAM_TYPE, type);
1414
1414
                }
1415
1415
 
1416
1416
              url_fds.add (url_fd);
1443
1443
 
1444
1444
          if (type != null)
1445
1445
            {
1446
 
              url_fd.set_parameter (url_fd.PARAM_TYPE, type);
 
1446
              url_fd.set_parameter (AbstractFieldDetails.PARAM_TYPE, type);
1447
1447
            }
1448
1448
 
1449
1449
          this._urls.add (url_fd);