all repos — fluxbox @ 0836477c19457381fe5bd4ef4bf9dfcfad000274

custom fork of the fluxbox windowmanager

added accessor for button
fluxgen fluxgen
commit

0836477c19457381fe5bd4ef4bf9dfcfad000274

parent

efc1ec4b206f3e24c1fd9ca29096f23735f2e7ae

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/WorkspaceNameTool.hhsrc/WorkspaceNameTool.hh

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WorkspaceNameTool.hh,v 1.3 2003/08/19 16:15:32 fluxgen Exp $ +// $Id: WorkspaceNameTool.hh,v 1.4 2003/08/23 15:45:38 fluxgen Exp $ #ifndef WORKSPACENAMETOOL_HH #define WORKSPACENAMETOOL_HH

@@ -50,7 +50,8 @@ unsigned int height() const;

unsigned int borderWidth() const; void update(FbTk::Subject *subj); - + FbTk::Button &button() { return m_button; } + const FbTk::Button &button() const { return m_button; } private: void renderTheme(); FbTk::TextButton m_button;