diff options
author | fluxgen <fluxgen> | 2006-02-20 21:04:35 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-02-20 21:04:35 (GMT) |
commit | 369b4e1b92491aa57b0bf430b89bf732b80fa6a4 (patch) | |
tree | 2bf00a93ad1c195ef7d446e8989069f218a2cd47 /src/WorkspaceMenu.cc | |
parent | 2566d84561ce9f5ecaf1adcce97eb578747034e3 (diff) | |
download | fluxbox-369b4e1b92491aa57b0bf430b89bf732b80fa6a4.zip fluxbox-369b4e1b92491aa57b0bf430b89bf732b80fa6a4.tar.bz2 |
moved class Layer from class Fluxbox and thus reduces some dependecies
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index 1e3dc40..c3dfd9a 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -24,12 +24,12 @@ | |||
24 | #include "WorkspaceMenu.hh" | 24 | #include "WorkspaceMenu.hh" |
25 | 25 | ||
26 | #include "Screen.hh" | 26 | #include "Screen.hh" |
27 | #include "fluxbox.hh" | ||
28 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
29 | #include "WorkspaceCmd.hh" | 28 | #include "WorkspaceCmd.hh" |
30 | #include "MenuCreator.hh" | 29 | #include "MenuCreator.hh" |
31 | #include "CommandParser.hh" | 30 | #include "CommandParser.hh" |
32 | #include "FbCommands.hh" | 31 | #include "FbCommands.hh" |
32 | #include "Layer.hh" | ||
33 | 33 | ||
34 | #include "FbTk/I18n.hh" | 34 | #include "FbTk/I18n.hh" |
35 | #include "FbTk/SimpleCommand.hh" | 35 | #include "FbTk/SimpleCommand.hh" |
@@ -57,8 +57,7 @@ | |||
57 | WorkspaceMenu::WorkspaceMenu(BScreen &screen): | 57 | WorkspaceMenu::WorkspaceMenu(BScreen &screen): |
58 | FbMenu(screen.menuTheme(), | 58 | FbMenu(screen.menuTheme(), |
59 | screen.imageControl(), | 59 | screen.imageControl(), |
60 | *screen.layerManager(). | 60 | *screen.layerManager().getLayer(Layer::MENU)) { |
61 | getLayer(Fluxbox::instance()->getMenuLayer())) { | ||
62 | 61 | ||
63 | 62 | ||
64 | init(screen); | 63 | init(screen); |