Fix compile errors. Closes #365
This commit is contained in:
parent
5c3f23277c
commit
6f5f666a5f
|
@ -166,13 +166,6 @@ namespace SparkleShare {
|
||||||
PathEntry = new SparkleEntry ();
|
PathEntry = new SparkleEntry ();
|
||||||
AddressEntry = new SparkleEntry ();
|
AddressEntry = new SparkleEntry ();
|
||||||
|
|
||||||
Controller.SelectListPluginEvent += delegate (int index) {
|
|
||||||
Application.Invoke (delegate {
|
|
||||||
TreeSelection selection = tree.Selection;
|
|
||||||
TreePath path = new TreePath (index.ToString ());
|
|
||||||
selection.SelectPath (path);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
// Select the first plugin by default
|
// Select the first plugin by default
|
||||||
TreeSelection default_selection = tree.Selection;
|
TreeSelection default_selection = tree.Selection;
|
||||||
|
@ -235,7 +228,7 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty (address) &&
|
if (!string.IsNullOrEmpty (address) &&
|
||||||
address.Equals (Controller.PreviousServer)) {
|
address.Equals (Controller.PreviousAddress)) {
|
||||||
|
|
||||||
tree.SetCursor (path, service_column, false);
|
tree.SetCursor (path, service_column, false);
|
||||||
SparklePlugin plugin = (SparklePlugin) model.GetValue (iter, 2);
|
SparklePlugin plugin = (SparklePlugin) model.GetValue (iter, 2);
|
||||||
|
|
|
@ -235,7 +235,7 @@ namespace SparkleShare {
|
||||||
Menu.Add (new SeparatorMenuItem ());
|
Menu.Add (new SeparatorMenuItem ());
|
||||||
|
|
||||||
// Opens the wizard to add a new remote folder
|
// Opens the wizard to add a new remote folder
|
||||||
MenuItem sync_item = new MenuItem (_("Add Project…"));
|
MenuItem sync_item = new MenuItem (_("Add Hosted Project…"));
|
||||||
|
|
||||||
if (Program.Controller.FirstRun)
|
if (Program.Controller.FirstRun)
|
||||||
sync_item.Sensitive = false;
|
sync_item.Sensitive = false;
|
||||||
|
@ -259,7 +259,7 @@ namespace SparkleShare {
|
||||||
Menu.Add (sync_item);
|
Menu.Add (sync_item);
|
||||||
Menu.Add (new SeparatorMenuItem ());
|
Menu.Add (new SeparatorMenuItem ());
|
||||||
|
|
||||||
MenuItem recent_events_item = new MenuItem (_("Show Recent Events"));
|
MenuItem recent_events_item = new MenuItem (_("Open Recent Events"));
|
||||||
|
|
||||||
if (Program.Controller.Folders.Count < 1)
|
if (Program.Controller.Folders.Count < 1)
|
||||||
recent_events_item.Sensitive = false;
|
recent_events_item.Sensitive = false;
|
||||||
|
|
Loading…
Reference in a new issue