diff options
Diffstat (limited to 'src/AlphaMenu.hh')
-rw-r--r-- | src/AlphaMenu.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/AlphaMenu.hh b/src/AlphaMenu.hh index 41580c3..833b0d2 100644 --- a/src/AlphaMenu.hh +++ b/src/AlphaMenu.hh | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "ToggleMenu.hh" | 26 | #include "ToggleMenu.hh" |
27 | #include "WindowCmd.hh" | 27 | #include "WindowCmd.hh" |
28 | #include "WindowMenuAccessor.hh" | ||
28 | #include "FbTk/MenuItem.hh" | 29 | #include "FbTk/MenuItem.hh" |
29 | 30 | ||
30 | class AlphaMenu : public ToggleMenu { | 31 | class AlphaMenu : public ToggleMenu { |
@@ -47,7 +48,7 @@ public: | |||
47 | } | 48 | } |
48 | 49 | ||
49 | bool isSelected() const { | 50 | bool isSelected() const { |
50 | static ConstWindowAccessor<bool> s_is_default(&FluxboxWindow::getUseDefaultAlpha, true); | 51 | static ConstWindowMenuAccessor<bool> s_is_default(&FluxboxWindow::getUseDefaultAlpha, true); |
51 | return s_is_default; | 52 | return s_is_default; |
52 | } | 53 | } |
53 | void click(int button, int time, unsigned int mods) { | 54 | void click(int button, int time, unsigned int mods) { |