GitMonitor.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:42:13 +0000 (21:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:42:13 +0000 (21:42 +0800)
GitMonitor.vala

index 15e21a3..f7fcf3b 100644 (file)
@@ -158,10 +158,12 @@ public class GitMonitor : Monitor
              
            
             
-            try { 
+            try {
+
+                var str = "%s\nMonitoring %d Directories"; 
                 var notification = new Notify.Notification(
                     "Git Live",
-                    GitMonitor.gitlive + "\nMonitoring " + this.monitors.length + " Directories",
+                    str.vprintf(GitMonitor.gitlive, this.monitors.length), 
                      "dialog-information"
                 );