Revered previous commit and hidden our menu entry.

Default "Settings->Full Screen Mode" entry remains and is visible in both
the Shell and when embedded in konqueror.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373859
This commit is contained in:
Enrico Ros 2004-12-28 22:43:35 +00:00
parent 571951fb1b
commit 5e13e0a1c1
3 changed files with 5 additions and 5 deletions

View file

@ -541,7 +541,7 @@ void Part::slotShowMenu(const KPDFPage *page, const QPoint &point)
for ( it = begin; it != end; ++it )
{
if (QString((*it)->name()) == "options_show_menubar") m_showMenuBarAction = (KToggleAction*)(*it);
if (QString((*it)->name()) == "show_fullscreen") m_showFullScreenAction = (KToggleAction*)(*it);
if (QString((*it)->name()) == "fullscreen") m_showFullScreenAction = (KToggleAction*)(*it);
}
}
m_actionsSearched = true;

View file

@ -154,7 +154,7 @@ Shell::setupActions()
m_showMenuBarAction = KStdAction::showMenubar( this, SLOT( slotShowMenubar() ), actionCollection());
KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection());
m_fullScreenAction = KStdAction::fullScreen( this, SLOT( slotUpdateFullScreen() ), actionCollection(), this, "show_fullscreen" );
m_fullScreenAction = KStdAction::fullScreen( this, SLOT( slotUpdateFullScreen() ), actionCollection(), this );
}
void

View file

@ -5,9 +5,9 @@
<DefineGroup append="save_merge" name="file_save" />
<DefineGroup append="print_merge" name="file_print" />
</Menu>
<Menu name="view" >
<Action name="show_fullscreen" />
</Menu>
<!--Menu name="view" >
<Action name="fullscreen" />
</Menu-->
<Menu name="settings" >
<DefineGroup append="show_merge" name="show_merge" />
</Menu>