~ubuntu-branches/ubuntu/quantal/shotwell/quantal

« back to all changes in this revision

Viewing changes to src/publishing/PublishingPluginHost.vala

  • Committer: Package Import Robot
  • Author(s): Ken VanDine, Alberto Mardegan
  • Date: 2012-09-24 11:10:48 UTC
  • Revision ID: package-import@ubuntu.com-20120924111048-dic3zkytvn0iaz36
Tags: 0.13.0-0ubuntu2
[ Alberto Mardegan ]
* debian/patches/06_uoa.patch (LP: #1046461)
  - Support multiple accounts per service
  - Attempt automatic login
  - Remove logout buttons

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    private Spit.Publishing.Publisher.MediaType media_type =
22
22
        Spit.Publishing.Publisher.MediaType.NONE;
23
23
    
24
 
    public ConcretePublishingHost(Service service, PublishingUI.PublishingDialog dialog,
 
24
    public ConcretePublishingHost(Service service, string? account,
 
25
        PublishingUI.PublishingDialog dialog,
25
26
        Publishable[] publishables) {
26
27
        base(service, "sharing");
27
28
        this.dialog = dialog;
30
31
        foreach (Publishable curr_publishable in publishables)
31
32
            this.media_type |= curr_publishable.get_media_type();
32
33
        
33
 
        this.active_publisher = service.create_publisher(this);
 
34
        this.active_publisher = service.create_publisher(account, this);
34
35
    }
35
36
    
36
37
    private void on_login_clicked() {