Fixed the spacing
This commit is contained in:
parent
940c5ae159
commit
7f4234a18d
|
@ -162,8 +162,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public bool FirstRun {
|
||||
get {
|
||||
public bool FirstRun
|
||||
{
|
||||
get
|
||||
{
|
||||
return SparkleConfig.DefaultConfig.User.Email.Equals ("Unknown");
|
||||
}
|
||||
}
|
||||
|
@ -202,8 +204,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public List<string> Folders {
|
||||
get {
|
||||
public List<string> Folders
|
||||
{
|
||||
get
|
||||
{
|
||||
List<string> folders = SparkleConfig.DefaultConfig.Folders;
|
||||
folders.Sort ();
|
||||
return folders;
|
||||
|
@ -211,8 +215,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public List<string> PreviousHosts {
|
||||
get {
|
||||
public List<string> PreviousHosts
|
||||
{
|
||||
get
|
||||
{
|
||||
List<string> hosts = SparkleConfig.DefaultConfig.HostsWithUsername;
|
||||
hosts.AddRange (SparkleConfig.DefaultConfig.Hosts);
|
||||
hosts.Sort ();
|
||||
|
@ -221,8 +227,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public List<string> UnsyncedFolders {
|
||||
get {
|
||||
public List<string> UnsyncedFolders
|
||||
{
|
||||
get
|
||||
{
|
||||
List<string> unsynced_folders = new List<string> ();
|
||||
|
||||
foreach (SparkleRepoBase repo in Repositories) {
|
||||
|
@ -669,8 +677,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public bool NotificationsEnabled {
|
||||
get {
|
||||
public bool NotificationsEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
string notifications_enabled =
|
||||
SparkleConfig.DefaultConfig.GetConfigOption ("notifications");
|
||||
|
||||
|
@ -685,7 +695,8 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public void ToggleNotifications () {
|
||||
public void ToggleNotifications ()
|
||||
{
|
||||
bool notifications_enabled =
|
||||
SparkleConfig.DefaultConfig.GetConfigOption ("notifications")
|
||||
.Equals (bool.TrueString);
|
||||
|
@ -825,8 +836,10 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
public bool BackendIsPresent {
|
||||
get {
|
||||
public bool BackendIsPresent
|
||||
{
|
||||
get
|
||||
{
|
||||
return SparkleBackend.DefaultBackend.IsPresent;
|
||||
}
|
||||
}
|
||||
|
@ -835,11 +848,13 @@ namespace SparkleShare {
|
|||
// Looks up the user's name from the global configuration
|
||||
public string UserName
|
||||
{
|
||||
get {
|
||||
get
|
||||
{
|
||||
return SparkleConfig.DefaultConfig.User.Name;
|
||||
}
|
||||
|
||||
set {
|
||||
set
|
||||
{
|
||||
SparkleConfig.DefaultConfig.User = new SparkleUser (value, UserEmail);
|
||||
}
|
||||
}
|
||||
|
@ -848,11 +863,13 @@ namespace SparkleShare {
|
|||
// Looks up the user's email from the global configuration
|
||||
public string UserEmail
|
||||
{
|
||||
get {
|
||||
get
|
||||
{
|
||||
return SparkleConfig.DefaultConfig.User.Email;
|
||||
}
|
||||
|
||||
set {
|
||||
set
|
||||
{
|
||||
SparkleConfig.DefaultConfig.User = new SparkleUser (UserName, value);
|
||||
}
|
||||
}
|
||||
|
@ -1180,8 +1197,7 @@ namespace SparkleShare {
|
|||
|
||||
|
||||
// All change sets that happened on a day
|
||||
public class ActivityDay : List <SparkleChangeSet>
|
||||
{
|
||||
public class ActivityDay : List<SparkleChangeSet> {
|
||||
public DateTime DateTime;
|
||||
|
||||
public ActivityDay (DateTime date_time)
|
||||
|
|
|
@ -30,7 +30,8 @@ namespace SparkleShare {
|
|||
|
||||
public class SparkleController : SparkleControllerBase {
|
||||
|
||||
public SparkleController () : base ()
|
||||
public SparkleController ()
|
||||
: base ()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue