diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-20 15:42:00 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2013-02-18 21:04:23 (GMT) |
commit | 09a76586dec0059dea3ef9183e417e232a0012a2 (patch) | |
tree | 2d3491053153aadafb4f842b88d995f1a483602d /src/Screen.cc | |
parent | 95979a5e611569e50ffb60417a82703125559b4f (diff) | |
download | fluxbox_pavel-09a76586dec0059dea3ef9183e417e232a0012a2.zip fluxbox_pavel-09a76586dec0059dea3ef9183e417e232a0012a2.tar.bz2 |
Attach modifiedSig handlers to the session.screenX.tab.placement resource
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index c8e4ad7..2766c06 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -194,9 +194,9 @@ public: | |||
194 | setCloseOnClick(false); | 194 | setCloseOnClick(false); |
195 | } | 195 | } |
196 | 196 | ||
197 | bool isSelected() const { return m_screen.getTabPlacement() == m_place; } | 197 | bool isSelected() const { return *m_screen.getTabPlacementResource() == m_place; } |
198 | void click(int button, int time, unsigned int mods) { | 198 | void click(int button, int time, unsigned int mods) { |
199 | m_screen.saveTabPlacement(m_place); | 199 | *m_screen.getTabPlacementResource() = m_place; |
200 | FbTk::RadioMenuItem::click(button, time, mods); | 200 | FbTk::RadioMenuItem::click(button, time, mods); |
201 | } | 201 | } |
202 | 202 | ||
@@ -1685,7 +1685,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1685 | tabplacement_menu->insert(p.label); | 1685 | tabplacement_menu->insert(p.label); |
1686 | tabplacement_menu->setItemEnabled(i, false); | 1686 | tabplacement_menu->setItemEnabled(i, false); |
1687 | } else | 1687 | } else |
1688 | tabplacement_menu->insert(new TabPlacementMenuItem(p.label, *this, p.placement, save_and_reconftabs)); | 1688 | tabplacement_menu->insert(new TabPlacementMenuItem(p.label, *this, p.placement, saverc_cmd)); |
1689 | } | 1689 | } |
1690 | tabplacement_menu->updateMenu(); | 1690 | tabplacement_menu->updateMenu(); |
1691 | 1691 | ||