check for config files
This commit is contained in:
parent
f08ce00f7d
commit
371caea8f5
|
@ -29,4 +29,4 @@ namespace SparkleShare {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
BIN
SparkleShare/SparkleShare.pidb
Normal file
BIN
SparkleShare/SparkleShare.pidb
Normal file
Binary file not shown.
|
@ -254,13 +254,26 @@ namespace SparkleShare {
|
||||||
LocalPathBox.PackStart (Property2, false, false, 0);
|
LocalPathBox.PackStart (Property2, false, false, 0);
|
||||||
LocalPathBox.PackStart (Value2, false, false, 0);
|
LocalPathBox.PackStart (Value2, false, false, 0);
|
||||||
|
|
||||||
CheckButton NotificationsCheckButton =
|
CheckButton NotifyCheckButton =
|
||||||
new CheckButton ("Notify me when something changes");
|
new CheckButton ("Notify me when something changes");
|
||||||
NotificationsCheckButton.Active = true;
|
|
||||||
|
|
||||||
CheckButton ChangesCheckButton =
|
string NotifyFileName =
|
||||||
|
SparkleHelpers.CombineMore (SparkleRepo.LocalPath,
|
||||||
|
".git", "sparkleshare.notify");
|
||||||
|
|
||||||
|
if (File.Exists (NotifyFileName))
|
||||||
|
NotifyCheckButton.Active = true;
|
||||||
|
|
||||||
|
CheckButton SyncCheckButton =
|
||||||
new CheckButton ("Synchronize my changes");
|
new CheckButton ("Synchronize my changes");
|
||||||
ChangesCheckButton.Active = true;
|
|
||||||
|
string SyncFileName =
|
||||||
|
SparkleHelpers.CombineMore (SparkleRepo.LocalPath,
|
||||||
|
".git", "sparkleshare.sync");
|
||||||
|
|
||||||
|
if (File.Exists (SyncFileName))
|
||||||
|
SyncCheckButton.Active = true;
|
||||||
|
|
||||||
|
|
||||||
VBox VBox = new VBox (false, 0);
|
VBox VBox = new VBox (false, 0);
|
||||||
|
|
||||||
|
@ -269,8 +282,8 @@ namespace SparkleShare {
|
||||||
|
|
||||||
Table.Attach (RemoteUrlBox, 0, 2, 0, 1);
|
Table.Attach (RemoteUrlBox, 0, 2, 0, 1);
|
||||||
Table.Attach (LocalPathBox, 0, 2, 1, 2);
|
Table.Attach (LocalPathBox, 0, 2, 1, 2);
|
||||||
Table.Attach (NotificationsCheckButton, 0, 2, 4, 5);
|
Table.Attach (NotifyCheckButton, 0, 2, 4, 5);
|
||||||
Table.Attach (ChangesCheckButton, 0, 2, 5, 6);
|
Table.Attach (SyncCheckButton, 0, 2, 5, 6);
|
||||||
|
|
||||||
Label PeopleLabel =
|
Label PeopleLabel =
|
||||||
new Label ("<span font_size='large'><b>Active users" +
|
new Label ("<span font_size='large'><b>Active users" +
|
||||||
|
|
Loading…
Reference in a new issue