summaryrefslogtreecommitdiff
path: root/SparkleShare/SparkleEventLogController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SparkleShare/SparkleEventLogController.cs')
-rwxr-xr-xSparkleShare/SparkleEventLogController.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/SparkleShare/SparkleEventLogController.cs b/SparkleShare/SparkleEventLogController.cs
index f2ecc4c..fea2e65 100755
--- a/SparkleShare/SparkleEventLogController.cs
+++ b/SparkleShare/SparkleEventLogController.cs
@@ -257,6 +257,9 @@ namespace SparkleShare {
string folder = url.Replace ("history://", "").Split ("/".ToCharArray ()) [0];
string file_path = url.Replace ("history://" + folder + "/", "");
+ byte [] file_path_bytes = Encoding.Default.GetBytes (file_path);
+ file_path = Encoding.UTF8.GetString (file_path_bytes);
+
file_path = Uri.UnescapeDataString (file_path);
foreach (SparkleRepoBase repo in Program.Controller.Repositories) {
@@ -439,7 +442,7 @@ namespace SparkleShare {
if (!change.IsFolder) {
event_entry += "<small><a href=\"history://" + change_set.Folder.Name + "/" +
change.Path + "\" title=\"View revisions\">" + change.Timestamp.ToString ("HH:mm") +
- "</a></small> &nbsp;";
+ " &#x25BE;</a></small> &nbsp;";
} else {
event_entry += "<small>" + change.Timestamp.ToString ("HH:mm") + "</small> &nbsp;";
@@ -469,6 +472,7 @@ namespace SparkleShare {
timestamp = change_set.FirstTimestamp.ToString ("H:mm") + " – " + timestamp;
}
+ // TODO: List commit messages if there are any
event_entries += event_entry_html.Replace ("<!-- $event-entry-content -->", event_entry)
.Replace ("<!-- $event-user-name -->", change_set.User.Name)
.Replace ("<!-- $event-user-email -->", change_set.User.Email)