From 5292c3e7ad5f2e198e450709fb4d0c16f2a36025 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Thu, 13 Dec 2001 22:05:03 +0000
Subject: Updated Toolbar alignment

---
 src/Toolbar.cc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 214a64f..ce300a7 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -645,14 +645,14 @@ void Toolbar::checkClock(Bool redraw, Bool date) {
 		}
 
 		switch (screen->getToolbarStyle()->font.justify) {
-		case FFont::Right:
+		case Misc::Font::RIGHT:
 			dx += frame.clock_w - l;
 			break;
 
-		case FFont::Center:
+		case Misc::Font::CENTER:
 			dx += (frame.clock_w - l) / 2;
 			break;
-		default:
+		default: //LEFT
 			break;
 		}
 
@@ -711,11 +711,11 @@ void Toolbar::redrawWindowLabel(Bool redraw) {
 			}
 		}
 		switch (screen->getToolbarStyle()->font.justify) {
-		case FFont::Right:
+		case Misc::Font::RIGHT:
 			dx += frame.window_label_w - l;
 			break;
 
-		case FFont::Center:
+		case Misc::Font::CENTER:
 			dx += (frame.window_label_w - l) / 2;
 			break;
 		default:
@@ -789,11 +789,11 @@ void Toolbar::redrawWorkspaceLabel(Bool redraw) {
 		}
 		
 		switch (screen->getToolbarStyle()->font.justify) {
-		case FFont::Right:
+		case Misc::Font::RIGHT:
 			dx += frame.workspace_label_w - l;
 			break;
 
-		case FFont::Center:
+		case Misc::Font::CENTER:
 			dx += (frame.workspace_label_w - l) / 2;
 			break;
 		default:
-- 
cgit v0.11.2