diff options
author | simonb <simonb> | 2005-04-27 15:15:36 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-04-27 15:15:36 (GMT) |
commit | 9970dd11c7f9c0d9d91601c9e9785a857ca2c6d8 (patch) | |
tree | 5c2ed44be50661b590b7a2771a1fad6d4e845177 /src/FbTk/TextButton.cc | |
parent | 8a43bec0e8da33da4b8147658af0516c536a3309 (diff) | |
download | fluxbox_pavel-9970dd11c7f9c0d9d91601c9e9785a857ca2c6d8.zip fluxbox_pavel-9970dd11c7f9c0d9d91601c9e9785a857ca2c6d8.tar.bz2 |
fix a few more bugs with recent reworking stuff
Some fixes could incidentally fix a few other bugs... the flaws were
pre-existing, I've just been weeding out a lot of duplication
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r-- | src/FbTk/TextButton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index 9a16c2c..e95b1c9 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc | |||
@@ -63,7 +63,7 @@ void TextButton::setJustify(FbTk::Justify just) { | |||
63 | void TextButton::setText(const std::string &text) { | 63 | void TextButton::setText(const std::string &text) { |
64 | if (m_text != text) { | 64 | if (m_text != text) { |
65 | m_text = text; | 65 | m_text = text; |
66 | parentMoved(); | 66 | updateBackground(false); |
67 | clear(); | 67 | clear(); |
68 | } | 68 | } |
69 | } | 69 | } |