[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/konqueror
From:       Marcel Partap <mpartap () gmx ! net>
Date:       2009-11-22 20:56:02
Message-ID: 1258923362.318347.11914.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1052948 by mpartap:

- less misleading menu action name..


 M  +1 -1      about/konq_aboutpage.cc  
 M  +2 -5      src/konqmainwindow.cpp  


--- trunk/KDE/kdebase/apps/konqueror/about/konq_aboutpage.cc #1052947:1052948
@@ -159,7 +159,7 @@
           .arg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to \
start faster,"  " you can turn off this information screen by clicking <a \
href=\"%1\">here</a>. You can re-enable it"  " by choosing the Help -> Konqueror \
                Introduction menu option, and then pressing "
-			"Settings -> Save View Profile \"Web Browsing\".", \
QString("config:/disable_overview")) ) +			"Settings -> Save View Profile As... -> \
                \"Web Browsing\".", QString("config:/disable_overview")) )
 	  .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path )
 	  .arg( i18n( "Next: Tips &amp; Tricks" ) )
 	;
--- trunk/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp #1052947:1052948
@@ -3613,7 +3613,7 @@
   // Settings menu
 
   m_paSaveViewProfile = actionCollection()->addAction( "saveviewprofile" );
-  m_paSaveViewProfile->setText( i18n( "&Save View Profile..." ) );
+  m_paSaveViewProfile->setText( i18n( "&Save View Profile As..." ) );
   connect(m_paSaveViewProfile, SIGNAL(triggered() ), SLOT( slotSaveViewProfile() ));
 
   // This list is just for the call to authorizeControlModule; see slotConfigure for \
the real code @@ -4238,10 +4238,7 @@
 
 void KonqMainWindow::currentProfileChanged()
 {
-    const bool enabled = !m_pViewManager->currentProfile().isEmpty();
-    m_paSaveViewProfile->setEnabled(enabled);
-    m_paSaveViewProfile->setText(enabled ? i18n("&Save View Profile \"%1\"...", \
                m_pViewManager->currentProfileText())
-                                         : i18n("&Save View Profile..."));
+    m_paSaveViewProfile->setEnabled(!m_pViewManager->currentProfile().isEmpty());
 }
 
 void KonqMainWindow::enableAllActions( bool enable )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic