diff options
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r-- | src/IconButton.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index ce4719a..a1e8cf0 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: IconButton.cc,v 1.5 2003/08/16 12:04:12 fluxgen Exp $ | 23 | // $Id: IconButton.cc,v 1.6 2003/08/19 16:13:25 fluxgen Exp $ |
24 | 24 | ||
25 | #include "IconButton.hh" | 25 | #include "IconButton.hh" |
26 | 26 | ||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, | 43 | IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, |
44 | FluxboxWindow &win): | 44 | FluxboxWindow &win): |
45 | TextButton(parent, font, win.winClient().title()), | 45 | FbTk::TextButton(parent, font, win.winClient().title()), |
46 | m_win(win), | 46 | m_win(win), |
47 | m_icon_window(*this, 1, 1, 1, 1, | 47 | m_icon_window(*this, 1, 1, 1, 1, |
48 | ExposureMask | ButtonPressMask | ButtonReleaseMask) { | 48 | ExposureMask | ButtonPressMask | ButtonReleaseMask) { |
@@ -51,7 +51,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, | |||
51 | setOnClick(focus); | 51 | setOnClick(focus); |
52 | 52 | ||
53 | m_win.hintSig().attach(this); | 53 | m_win.hintSig().attach(this); |
54 | 54 | ||
55 | FbTk::EventManager::instance()->add(*this, m_icon_window); | 55 | FbTk::EventManager::instance()->add(*this, m_icon_window); |
56 | 56 | ||
57 | update(0); | 57 | update(0); |