~online-accounts/online-accounts-shotwell/packaging

« back to all changes in this revision

Viewing changes to src/publishing/PublishingPluginHost.vala

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-04-13 16:24:19 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110413162419-dkqiwrupfsmcniur
Tags: 0.9.2-0ubuntu1
New upstream release (LP: #759487)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    private Spit.Publishing.Publisher active_publisher = null;
19
19
    private Publishable[] publishables = null;
20
20
    private LoginCallback current_login_callback = null;
 
21
    private bool publishing_halted = false;
21
22
    
22
23
    public ConcretePublishingHost(Service service, PublishingDialog dialog,
23
24
        Publishable[] publishables) {
122
123
 
123
124
        clean_up();
124
125
 
 
126
        publishing_halted = true;
125
127
        dialog = null;
126
128
    }
127
129
 
254
256
            
255
257
            spin_event_loop();
256
258
 
 
259
            if (publishing_halted)
 
260
                break;
 
261
 
257
262
            i++;
258
263
        }
259
264