~ubuntu-branches/ubuntu/saucy/baobab/saucy

« back to all changes in this revision

Viewing changes to src/baobab-window.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-08-21 12:15:25 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120821121525-bawfsoc9xvd1qsvf
Tags: 3.5.90-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on valac-0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        void set_active_location (Location location) {
234
234
            if (scan_completed_handler > 0) {
235
235
                active_location.scanner.disconnect (scan_completed_handler);
 
236
                scan_completed_handler = 0;
236
237
            }
237
238
 
238
239
            active_location = location;
542
543
        void scan_active_location (bool force) {
543
544
            var scanner = active_location.scanner;
544
545
 
545
 
            set_model (active_location.scanner);
546
 
 
547
546
            scan_completed_handler = scanner.completed.connect(() => {
548
547
                try {
549
548
                    scanner.finish();
566
565
            set_ui_state (UIPage.RESULT, true);
567
566
 
568
567
            scanner.scan (force);
 
568
 
 
569
            set_model (active_location.scanner);
569
570
        }
570
571
 
571
572
        public void scan_directory (File directory) {