forgotten cosmetics

This commit is contained in:
mathias 2006-02-27 21:43:01 +00:00
parent ec7ce1e029
commit e21990f8f3
2 changed files with 7 additions and 4 deletions

View file

@ -59,6 +59,7 @@
#include "SlitClient.hh"
#include "Xutil.hh"
#include "FbAtoms.hh"
#include "FbTk/App.hh"
#include "FbTk/MenuSeparator.hh"
#include "FbTk/StringUtil.hh"
#include "FbTk/I18n.hh"

View file

@ -32,7 +32,7 @@
// themes
#include "ToolbarTheme.hh"
#include "FbTk/I18n.hh"
#include "fluxbox.hh"
#include "Screen.hh"
#include "IntResMenuItem.hh"
#include "BoolMenuItem.hh"
@ -45,6 +45,7 @@
#include "CommandParser.hh"
#include "Layer.hh"
#include "FbTk/I18n.hh"
#include "FbTk/ImageControl.hh"
#include "FbTk/MacroCommand.hh"
#include "FbTk/EventManager.hh"
@ -819,17 +820,17 @@ void Toolbar::setupMenus() {
m_rc_width_percent,
0, 100, menu()); // min/max value
toolbar_menuitem->setCommand(reconfig_toolbar_and_save_resource);
menu().insert(toolbar_menuitem);
menu().insert(new BoolMenuItem(_FBTEXT(Common, MaximizeOver,
"Maximize Over",
"Maximize over this thing when maximizing"),
*m_rc_maximize_over,
reconfig_toolbar_and_save_resource));
menu().insert(_FBTEXT(Menu, Layer, "Layer...", "Title of Layer menu"), &layerMenu());
#ifdef XINERAMA
if (screen().hasXinerama()) {
menu().insert(_FBTEXT(Menu, OnHead, "On Head...", "Title of On Head menu"),
new XineramaHeadMenu<Toolbar>(screen().menuTheme(),
@ -840,6 +841,7 @@ void Toolbar::setupMenus() {
_FBTEXT(Toolbar, OnHead, "Toolbar on Head",
"Title of toolbar on head menu")));
}
#endif // XINERAMA
typedef pair<const char*, Toolbar::Placement> PlacementP;
typedef list<PlacementP> Placements;