Fix compile errors. Closes #365

This commit is contained in:
Hylke Bons 2011-10-06 20:26:17 +02:00
parent 5c3f23277c
commit 6f5f666a5f
2 changed files with 3 additions and 10 deletions

View file

@ -166,13 +166,6 @@ namespace SparkleShare {
PathEntry = 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
TreeSelection default_selection = tree.Selection;
@ -235,7 +228,7 @@ namespace SparkleShare {
}
if (!string.IsNullOrEmpty (address) &&
address.Equals (Controller.PreviousServer)) {
address.Equals (Controller.PreviousAddress)) {
tree.SetCursor (path, service_column, false);
SparklePlugin plugin = (SparklePlugin) model.GetValue (iter, 2);

View file

@ -235,7 +235,7 @@ namespace SparkleShare {
Menu.Add (new SeparatorMenuItem ());
// 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)
sync_item.Sensitive = false;
@ -259,7 +259,7 @@ namespace SparkleShare {
Menu.Add (sync_item);
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)
recent_events_item.Sensitive = false;