Commit 5e13e0a1 authored by Enrico Ros's avatar Enrico Ros

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
parent 571951fb
......@@ -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;
......
......@@ -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
......
......@@ -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>
......
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