~tcole/ubuntuone-client/request-queue-predicates

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/main.py

  • Committer: Tarmac
  • Author(s): guillermo.gonzalez at canonical
  • Date: 2009-08-17 17:43:40 UTC
  • mfrom: (138.5.9 shared_with_me-symlink)
  • Revision ID: elliot@elliotmurphy.com-20090817174340-aye13skh89iic8yl
make the default links to the Ubuntu One folder go to ~/Ubuntu One/My Files and add a symlink to the "Shared with Me" folder in ~/Ubuntu One/My Files 

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        """ create the instance. """
82
82
        self.root_dir = root_dir
83
83
        self.shares_dir = shares_dir
 
84
        self.shares_dir_link = os.path.join(self.root_dir,
 
85
                                       os.path.basename(self.shares_dir))
84
86
        self.data_dir = data_dir
85
87
        self.logger = logging.getLogger('ubuntuone.SyncDaemon.Main')
86
88
        self.host = host
364
366
 
365
367
    def get_rootdir(self):
366
368
        """ Returns the base dir/mount point"""
367
 
        return os.path.dirname(self.root_dir)
 
369
        return self.root_dir
368
370
 
369
371
    def quit(self, exit_value=0, with_restart=False):
370
372
        """ shutdown and stop the reactor. """