Commit 1bf56ad4 authored by Enrico Ros's avatar Enrico Ros

merged patch_090

svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425043
parent b4e8b1e9
...@@ -232,13 +232,13 @@ Part::Part(QWidget *parentWidget, const char *widgetName, ...@@ -232,13 +232,13 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
m_saveAs = KStdAction::saveAs( this, SLOT( slotSaveFileAs() ), ac, "save" ); m_saveAs = KStdAction::saveAs( this, SLOT( slotSaveFileAs() ), ac, "save" );
m_saveAs->setEnabled( false ); m_saveAs->setEnabled( false );
KAction * prefs = KStdAction::preferences( this, SLOT( slotPreferences() ), ac, "preferences" ); KAction * prefs = KStdAction::preferences( this, SLOT( slotPreferences() ), ac, "preferences" );
prefs->setText( i18n( "Configure PDF Viewer..." ) ); prefs->setText( i18n( "Configure KPDF..." ) ); // TODO: use "Configure PDF Viewer..." when used as part (like in konq
m_printPreview = KStdAction::printPreview( this, SLOT( slotPrintPreview() ), ac ); m_printPreview = KStdAction::printPreview( this, SLOT( slotPrintPreview() ), ac );
m_printPreview->setEnabled( false ); m_printPreview->setEnabled( false );
m_showLeftPanel = new KToggleAction( i18n( "Show &left panel"), "show_side_panel", 0, this, SLOT( slotShowLeftPanel() ), ac, "show_leftpanel" ); m_showLeftPanel = new KToggleAction( i18n( "Show &Navigation panel"), "show_side_panel", 0, this, SLOT( slotShowLeftPanel() ), ac, "show_leftpanel" );
m_showLeftPanel->setShortcut( "CTRL+L" ); m_showLeftPanel->setShortcut( "CTRL+L" );
m_showLeftPanel->setCheckedState( i18n("Hide &left panel") ); m_showLeftPanel->setCheckedState( i18n( "Hide &Navigation Panel" ) );
m_showLeftPanel->setChecked( Settings::showLeftPanel() ); m_showLeftPanel->setChecked( Settings::showLeftPanel() );
slotShowLeftPanel(); slotShowLeftPanel();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment