From b4331b03fe54599b42ba62399bbef00dd2b8334b Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 24 Aug 2003 23:15:02 +0000 Subject: just listen to screen size changes --- src/Toolbar.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index b9c9ab5..180aa4b 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.114 2003/08/24 13:17:00 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.115 2003/08/24 23:15:02 fluxgen Exp $ #include "Toolbar.hh" @@ -264,8 +264,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi // we need to get notified when the theme is reloaded m_theme.reconfigSig().attach(this); - // listen to screen reconfigure - screen().reconfigureSig().attach(this); + // listen to screen size changes screen().resizeSig().attach(this); moveToLayer((*m_rc_layernum).getNum()); -- cgit v0.11.2