aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-01 12:41:44 (GMT)
committerfluxgen <fluxgen>2003-07-01 12:41:44 (GMT)
commite6e43b00526364a7307064e7ceaf409aa0a90bd6 (patch)
treebfae0ab46da7dc080a5005526ff28740ee91556b /src
parentc05206da7a8ff39fa70a724b06c711a33c08a0f1 (diff)
downloadfluxbox-e6e43b00526364a7307064e7ceaf409aa0a90bd6.zip
fluxbox-e6e43b00526364a7307064e7ceaf409aa0a90bd6.tar.bz2
fixed antialias update on reconfigure
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index f97f2d2..f99d2ad 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.96 2003/06/26 12:22:42 rathnor Exp $ 25// $Id: Toolbar.cc,v 1.97 2003/07/01 12:41:44 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -274,6 +274,8 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi
274 274
275 // we need to get notified when the theme is reloaded 275 // we need to get notified when the theme is reloaded
276 m_theme.addListener(m_themelistener); 276 m_theme.addListener(m_themelistener);
277 // listen to screen reconfigure
278 screen().reconfigureSig().attach(&m_themelistener);
277 279
278 m_layermenu.setInternalMenu(); 280 m_layermenu.setInternalMenu();
279 m_placementmenu.setInternalMenu(); 281 m_placementmenu.setInternalMenu();
@@ -460,6 +462,8 @@ void Toolbar::lower() {
460 462
461void Toolbar::reconfigure() { 463void Toolbar::reconfigure() {
462 464
465 theme().font().setAntialias(screen().antialias());
466
463 if (doAutoHide()) 467 if (doAutoHide())
464 m_hide_timer.start(); 468 m_hide_timer.start();
465 469