diff options
author | fluxgen <fluxgen> | 2003-05-08 10:57:20 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-08 10:57:20 (GMT) |
commit | 7066ef620b5e6e05f7147011d6e5ef06a8956bad (patch) | |
tree | d083d29ed6c7e51623a62fa7182d77bfe33d2afd | |
parent | 3cd853536d59c0bda4e461599f3a92ce044a7ef4 (diff) | |
download | fluxbox_lack-7066ef620b5e6e05f7147011d6e5ef06a8956bad.zip fluxbox_lack-7066ef620b5e6e05f7147011d6e5ef06a8956bad.tar.bz2 |
set antialias on toolbar before we load the theme
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index a628594..cb72080 100644 --- a/src/Screen.cc +++ b/src/Screen.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: Screen.cc,v 1.149 2003/05/08 01:51:18 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.150 2003/05/08 10:57:20 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -832,6 +832,8 @@ void BScreen::reconfigure() { | |||
832 | winFrameTheme().font().setAntialias(*resource.antialias); | 832 | winFrameTheme().font().setAntialias(*resource.antialias); |
833 | m_menutheme->titleFont().setAntialias(*resource.antialias); | 833 | m_menutheme->titleFont().setAntialias(*resource.antialias); |
834 | m_menutheme->frameFont().setAntialias(*resource.antialias); | 834 | m_menutheme->frameFont().setAntialias(*resource.antialias); |
835 | if (getToolbar() && getToolbar()->theme().font().isAntialias() != *resource.antialias) | ||
836 | getToolbar()->theme().font().setAntialias(*resource.antialias); | ||
835 | 837 | ||
836 | // load theme | 838 | // load theme |
837 | std::string theme_filename(Fluxbox::instance()->getStyleFilename()); | 839 | std::string theme_filename(Fluxbox::instance()->getStyleFilename()); |
@@ -888,8 +890,6 @@ void BScreen::reconfigure() { | |||
888 | 890 | ||
889 | if (getToolbar()) { | 891 | if (getToolbar()) { |
890 | getToolbar()->setPlacement(*resource.toolbar_placement); | 892 | getToolbar()->setPlacement(*resource.toolbar_placement); |
891 | if (getToolbar()->theme().font().isAntialias() != *resource.antialias) | ||
892 | getToolbar()->theme().font().setAntialias(*resource.antialias); | ||
893 | getToolbar()->reconfigure(); | 893 | getToolbar()->reconfigure(); |
894 | } | 894 | } |
895 | 895 | ||