diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-18 05:09:20 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-18 05:09:20 (GMT) |
commit | 31df2d8bd618cae590d9b0e76aee11021d4c77d3 (patch) | |
tree | 3be26fb88b0e0178a728bd9968eea2e93f62b6f6 /src/IntResMenuItem.hh | |
parent | c39af52bfca7f6962048a102597d88337c949b67 (diff) | |
download | fluxbox-31df2d8bd618cae590d9b0e76aee11021d4c77d3.zip fluxbox-31df2d8bd618cae590d9b0e76aee11021d4c77d3.tar.bz2 |
make MenuItem responsible for decision to close menu when clicked
Diffstat (limited to 'src/IntResMenuItem.hh')
-rw-r--r-- | src/IntResMenuItem.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IntResMenuItem.hh b/src/IntResMenuItem.hh index 768870e..e49681f 100644 --- a/src/IntResMenuItem.hh +++ b/src/IntResMenuItem.hh | |||
@@ -37,6 +37,7 @@ public: | |||
37 | FbTk::MenuItem(label, host_menu), m_org_label(FbTk::MenuItem::label()), | 37 | FbTk::MenuItem(label, host_menu), m_org_label(FbTk::MenuItem::label()), |
38 | m_max(max_val), m_min(min_val), m_res(res) { | 38 | m_max(max_val), m_min(min_val), m_res(res) { |
39 | updateLabel(); | 39 | updateLabel(); |
40 | setCloseOnClick(false); | ||
40 | } | 41 | } |
41 | 42 | ||
42 | /* Utility, but doesn't get found in anonymous namespace? */ | 43 | /* Utility, but doesn't get found in anonymous namespace? */ |