~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to src/prefs/DirectoriesPrefs.cpp

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
      S.TieCheckBox( _("Auto save a copy of the project in a separate folder"),
102
102
                     wxT("/Directories/AutoSaveEnabled"), true);
103
103
      S.StartThreeColumn();
104
 
      S.TieTextBox( _("Auto save every:"), wxT("/Directories/AutoSaveMinutes"), 5.0, 9);
 
104
      S.TieTextBox( _("Auto save interval:"), wxT("/Directories/AutoSaveMinutes"), 5.0, 9);
105
105
      S.AddUnits(  _("minutes") );
106
106
      S.EndThreeColumn();
107
107
   }
109
109
   
110
110
   S.StartStatic( _("Audio cache"),0);
111
111
   {
112
 
      S.TieCheckBox( _("Always hold all audio data in memory"),
 
112
      S.TieCheckBox( _("Hold recorded data in memory until recording is stopped"),
113
113
                     wxT("/Directories/CacheBlockFiles"), false);
114
114
   }
115
115
   S.EndStatic();
152
152
      tempDir = tempDir.BeforeLast(wxFILE_SEP_PATH);
153
153
 
154
154
   //BG: wxWindows 2.3.2 and higher claim to support this, through a function called wxGetDiskSpace
 
155
   wxLogNull nolog;
155
156
   wxGetDiskSpace(tempDir, NULL, &space);
156
157
   mFreeSpace->SetLabel(Internat::FormatSize(space));
157
158
}