Commit 3a937569 authored by Scott Petrovic's avatar Scott Petrovic

add back menu item for hiding status bar

parent 2b8b2fe6
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
<Action name="view_ruler"/> <Action name="view_ruler"/>
<Action name="view_guidelines"/> <Action name="view_guidelines"/>
<Action name="view_show_guides"/> <Action name="view_show_guides"/>
<Action name="showStatusBar" />
<Separator/> <Separator/>
<Action name="view_grid"/> <Action name="view_grid"/>
<Action name="view_snap_to_grid"/> <Action name="view_snap_to_grid"/>
......
...@@ -658,6 +658,7 @@ void KisViewManager::createActions() ...@@ -658,6 +658,7 @@ void KisViewManager::createActions()
tAction->setChecked(true); tAction->setChecked(true);
tAction->setToolTip(i18n("Shows or hides the status bar")); tAction->setToolTip(i18n("Shows or hides the status bar"));
actionManager()->addAction("showStatusBar", tAction); actionManager()->addAction("showStatusBar", tAction);
tAction->setActivationFlags(KisAction::ACTIVE_IMAGE);
connect(tAction, SIGNAL(toggled(bool)), this, SLOT(showStatusBar(bool))); connect(tAction, SIGNAL(toggled(bool)), this, SLOT(showStatusBar(bool)));
tAction = new KisAction(i18n("Show Canvas Only"), this); tAction = new KisAction(i18n("Show Canvas Only"), this);
......
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