aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index ddce242..e39b28a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.115 2003/02/23 00:56:09 fluxgen Exp $ 25// $Id: Screen.cc,v 1.116 2003/02/23 12:02:30 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -528,8 +528,8 @@ BScreen::BScreen(ResourceManager &rm,
528 m_toolbar->setPlacement(*resource.toolbar_placement); 528 m_toolbar->setPlacement(*resource.toolbar_placement);
529 // setup toolbar width menu item 529 // setup toolbar width menu item
530 FbTk::MenuItem *toolbar_menuitem = new IntResMenuItem("Toolbar width percent", 530 FbTk::MenuItem *toolbar_menuitem = new IntResMenuItem("Toolbar width percent",
531 resource.toolbar_width_percent, 531 resource.toolbar_width_percent,
532 0, 100); // min/max value 532 0, 100); // min/max value
533 FbTk::RefCount<FbTk::Command> reconfig_toolbar(new FbTk:: 533 FbTk::RefCount<FbTk::Command> reconfig_toolbar(new FbTk::
534 SimpleCommand<Toolbar> 534 SimpleCommand<Toolbar>
535 (*(m_toolbar.get()), &Toolbar::reconfigure)); 535 (*(m_toolbar.get()), &Toolbar::reconfigure));
@@ -545,6 +545,9 @@ BScreen::BScreen(ResourceManager &rm,
545 toolbar_menuitem->setCommand(reconfig_toolbar_and_save_resource); 545 toolbar_menuitem->setCommand(reconfig_toolbar_and_save_resource);
546 546
547 m_toolbar->menu().insert(toolbar_menuitem, 0); 547 m_toolbar->menu().insert(toolbar_menuitem, 0);
548
549 m_toolbar->menu().insert(new BoolMenuItem("Auto hide", *resource.toolbar_auto_hide, reconfig_toolbar), 0);
550
548 551
549 setupWorkspacemenu(*this, *workspacemenu); 552 setupWorkspacemenu(*this, *workspacemenu);
550 553