incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1373287 - in /incubator/ooo/trunk/main/cui/source/customize: acccfg.cxx acccfg.src
Date Wed, 15 Aug 2012 09:31:46 GMT
Author: arielch
Date: Wed Aug 15 09:31:46 2012
New Revision: 1373287

URL: http://svn.apache.org/viewvc?rev=1373287&view=rev
Log:
#i120571# - Enhancements in "Save/Load Keyboard Config." dialog

Modified:
    incubator/ooo/trunk/main/cui/source/customize/acccfg.cxx
    incubator/ooo/trunk/main/cui/source/customize/acccfg.src

Modified: incubator/ooo/trunk/main/cui/source/customize/acccfg.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/cui/source/customize/acccfg.cxx?rev=1373287&r1=1373286&r2=1373287&view=diff
==============================================================================
--- incubator/ooo/trunk/main/cui/source/customize/acccfg.cxx (original)
+++ incubator/ooo/trunk/main/cui/source/customize/acccfg.cxx Wed Aug 15 09:31:46 2012
@@ -1367,7 +1367,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, Sav
 void SfxAcceleratorConfigPage::StartFileDialog( WinBits nBits, const String& rTitle )
 {
     bool bSave = ( ( nBits & WB_SAVEAS ) == WB_SAVEAS );
-    short nDialogType = bSave ? css::ui::dialogs::TemplateDescription::FILESAVE_SIMPLE
+    short nDialogType = bSave ? css::ui::dialogs::TemplateDescription::FILESAVE_AUTOEXTENSION
                               : css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE;
     if ( m_pFileDlg )
         delete m_pFileDlg;
@@ -1376,6 +1376,7 @@ void SfxAcceleratorConfigPage::StartFile
     m_pFileDlg->SetTitle( rTitle );
     m_pFileDlg->AddFilter( aFilterAllStr, DEFINE_CONST_UNICODE( FILEDIALOG_FILTER_ALL
) ); 
     m_pFileDlg->AddFilter( aFilterCfgStr, DEFINE_CONST_UNICODE( "*.cfg" ) );
+    m_pFileDlg->SetCurrentFilter( aFilterCfgStr );
 
     Link aDlgClosedLink = bSave ? LINK( this, SfxAcceleratorConfigPage, SaveHdl )
                                 : LINK( this, SfxAcceleratorConfigPage, LoadHdl );

Modified: incubator/ooo/trunk/main/cui/source/customize/acccfg.src
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/cui/source/customize/acccfg.src?rev=1373287&r1=1373286&r2=1373287&view=diff
==============================================================================
--- incubator/ooo/trunk/main/cui/source/customize/acccfg.src (original)
+++ incubator/ooo/trunk/main/cui/source/customize/acccfg.src Wed Aug 15 09:31:46 2012
@@ -197,7 +197,7 @@ TabPage RID_SVXPAGE_KEYBOARD
 	};
 	String STR_FILTERNAME_CFG
 	{
-		Text [ en-US ] = "Configuration" ;
+		Text [ en-US ] = "Configuration (*.cfg)" ;
 	};
 };
 



Mime
View raw message