just listen to screen size changes

This commit is contained in:
fluxgen 2003-08-24 23:15:02 +00:00
parent 531e989499
commit b4331b03fe

View file

@ -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());