Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26030/src/toolbars

Modified Files:
        ToolManager.cpp 
Log Message:
Use untranslated section name for preferences.

Index: ToolManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/ToolManager.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ToolManager.cpp     25 Jul 2008 03:39:51 -0000      1.18
+++ ToolManager.cpp     28 Feb 2009 19:32:23 -0000      1.19
@@ -548,7 +548,7 @@
       ToolBar *bar = mBars[ ndx ];
 
       // Change to the bar subkey
-      gPrefs->SetPath( bar->GetLabel() );
+      gPrefs->SetPath( bar->GetSection() );
 
       // Read in all the settings
       gPrefs->Read( wxT("Dock"), &dock, ndx == SelectionBarID ? BotDockID : 
TopDockID );
@@ -703,7 +703,7 @@
       ToolBar *bar = mBars[ ndx ];
 
       // Change to the bar subkey
-      gPrefs->SetPath( bar->GetLabel() );
+      gPrefs->SetPath( bar->GetSection() );
 
       // Search both docks for toolbar order
       int to = mTopDock->GetOrder( bar );


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to