just listen to screen size changes
This commit is contained in:
parent
531e989499
commit
b4331b03fe
1 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#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
|
// we need to get notified when the theme is reloaded
|
||||||
m_theme.reconfigSig().attach(this);
|
m_theme.reconfigSig().attach(this);
|
||||||
// listen to screen reconfigure
|
// listen to screen size changes
|
||||||
screen().reconfigureSig().attach(this);
|
|
||||||
screen().resizeSig().attach(this);
|
screen().resizeSig().attach(this);
|
||||||
|
|
||||||
moveToLayer((*m_rc_layernum).getNum());
|
moveToLayer((*m_rc_layernum).getNum());
|
||||||
|
|
Loading…
Reference in a new issue