summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 18:27:27 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 18:29:54 +0200
commit8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c (patch)
tree694cbbfbf0e191c8a3f245441a93cc027319a8f6 /src/gui/updatewindow.cpp
parentb4150856b56584b3922f2a9e2489ba472d2e864b (diff)
downloadmana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.gz
mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.bz2
mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.xz
mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.zip
Fixed one pixel missing from progress bars
Also fixed the progress bar during connecting to reset again when full, by disabling the smooth updating there. The ProgressBar now uses gcn::Color instead of three separate color attributes.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index f22c768a..21362630 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -108,7 +108,7 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost,
mBrowserBox = new BrowserBox;
mScrollArea = new ScrollArea(mBrowserBox);
mLabel = new Label(_("Connecting..."));
- mProgressBar = new ProgressBar(0.0, 310, 20, 168, 116, 31);
+ mProgressBar = new ProgressBar(0.0, 310, 20, gcn::Color(168, 116, 31));
mCancelButton = new Button(_("Cancel"), "cancel", this);
mPlayButton = new Button(_("Play"), "play", this);