Updating branch refs/heads/master
to 1c2e3f195c4493bb57fe16bea3da23515b477f91 (commit)
from fe359f0764ec13be369392560e686c95d2ba445c (commit)
commit 1c2e3f195c4493bb57fe16bea3da23515b477f91
Author: Christian Dywan <[email protected]>
Date: Thu Nov 25 23:09:03 2010 +0100
Only verify that absolute message locations exist
Search locations are prominently no real paths.
Fixes: https://bugs.launchpad.net/postler/+bug/672687
postler/postler-messages.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index b95d2e5..2a214de 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -610,7 +610,8 @@ public class Postler.Messages : Gtk.TreeView {
clear ();
if (location == null)
return true;
- if (!FileUtils.test (location + "/cur", FileTest.EXISTS))
+ if (Path.is_absolute (location)
+ && !FileUtils.test (location + "/cur", FileTest.EXISTS))
return true;
model = sort = null;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits