summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-05-10 17:30:07 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2009-05-10 17:30:07 +0100
commit588cfecd6cddbe63aa59e5fa638054ea370491d1 (patch)
tree834780f5370ffe80c03c86809a0e15a5a57a8877
parent51649d32634ffd63a80312095f4e18ad6ae8b2a1 (diff)
Correct a non-existant name fixme
The bus doesn't let you send messages to non-existant names, so bustle-dbus-monitor will never see them. So if they're in the log, the log's corrupt. This makes me care less about fixing this. :-)
-rw-r--r--Bustle/Renderer.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bustle/Renderer.hs b/Bustle/Renderer.hs
index 9dffa2f..3910157 100644
--- a/Bustle/Renderer.hs
+++ b/Bustle/Renderer.hs
@@ -231,9 +231,8 @@ bestNames (UniqueName u) os
where readable = reverse . takeWhile (/= '.') . reverse . unOtherName
appCoordinate :: BusName -> Renderer Double
--- FIXME: this will break when people try to send methods to non-existant names
appCoordinate s = getApp s >>= \coord -> case coord of
- Nothing -> error "FIXME"
+ Nothing -> error "corrupt log: contains nonexistant names"
Just x -> return x
rightmostApp :: Renderer Double