diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-01-15 20:31:37 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-01-15 20:31:37 (GMT) |
commit | bb480030f54947b19b761f37dd3c4756b361b5e1 (patch) | |
tree | b5934dc12278b7b48d96f82dd31061c8fc554fcf /src/Slit.cc | |
parent | accb8c3fa34b67ff59ecc2ea791eb10e1dcb90fc (diff) | |
download | fluxbox-bb480030f54947b19b761f37dd3c4756b361b5e1.zip fluxbox-bb480030f54947b19b761f37dd3c4756b361b5e1.tar.bz2 |
small refactoring of FbTk/Menu code
* removed useless struct _menu
* code deduplication via renderMenuPixmap()
* improved documentation:
- 'sublevel' actually means 'column'
- 'persub' means 'row_per_column'
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index acbd922..bdd1a28 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -1241,7 +1241,7 @@ void Slit::setupMenu() { | |||
1241 | 1241 | ||
1242 | // setup sub menu | 1242 | // setup sub menu |
1243 | placement_menu->setLabel(_FB_XTEXT(Slit, Placement, "Slit Placement", "Slit Placement")); | 1243 | placement_menu->setLabel(_FB_XTEXT(Slit, Placement, "Slit Placement", "Slit Placement")); |
1244 | placement_menu->setMinimumSublevels(3); | 1244 | placement_menu->setMinimumColumns(3); |
1245 | m_layermenu->setInternalMenu(); | 1245 | m_layermenu->setInternalMenu(); |
1246 | m_clientlist_menu.setInternalMenu(); | 1246 | m_clientlist_menu.setInternalMenu(); |
1247 | m_slitmenu.setInternalMenu(); | 1247 | m_slitmenu.setInternalMenu(); |