Fix escaping in commit message
This commit is contained in:
parent
987b579b4e
commit
f709de7c38
|
@ -155,7 +155,11 @@ public class SparklePonyStatusIcon : StatusIcon {
|
||||||
|
|
||||||
public SparklePonyStatusIcon () : base () {
|
public SparklePonyStatusIcon () : base () {
|
||||||
IconName = "folder-remote";
|
IconName = "folder-remote";
|
||||||
// Activate += delegate (object o, EventArgs args) { SetSyncingState (); };
|
Notification Notification = new Notification ("herro", "");
|
||||||
|
Notification.StatusIcon = this;
|
||||||
|
Notification.Urgency = Urgency.Normal;
|
||||||
|
Notification.Timeout = 3500;
|
||||||
|
Notification.Show ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetIdleState () {
|
public void SetIdleState () {
|
||||||
|
@ -334,7 +338,8 @@ public class Repository {
|
||||||
public void Commit (string Message) {
|
public void Commit (string Message) {
|
||||||
Console.WriteLine ("[Commit] " + Message);
|
Console.WriteLine ("[Commit] " + Message);
|
||||||
Console.WriteLine ("[Git] Commiting changes...");
|
Console.WriteLine ("[Git] Commiting changes...");
|
||||||
Process.StartInfo.Arguments = "commit -m '" + Message + "'";
|
Process.StartInfo.Arguments = "commit -m \"" + Message + "\"";
|
||||||
|
Console.WriteLine ("commit -m '" + Message + "'");
|
||||||
Process.Start();
|
Process.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue