mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
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:
parent
571951fb1b
commit
5e13e0a1c1
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue