diff --git a/SparkleShare/Linux/Bubbles.cs b/SparkleShare/Linux/Bubbles.cs
index 89a9bc58..c62469f0 100755
--- a/SparkleShare/Linux/Bubbles.cs
+++ b/SparkleShare/Linux/Bubbles.cs
@@ -40,7 +40,7 @@ namespace SparkleShare {
if (!SparkleShare.Controller.NotificationsEnabled)
return;
- Application.Invoke (() => {
+ Application.Invoke (delegate {
Notification notification = new Notification () {
Summary = title,
Body = subtext,
diff --git a/SparkleShare/Linux/Note.cs b/SparkleShare/Linux/Note.cs
index f0ed4b7f..d78b8dca 100644
--- a/SparkleShare/Linux/Note.cs
+++ b/SparkleShare/Linux/Note.cs
@@ -71,7 +71,7 @@ namespace SparkleShare {
private void CreateNote ()
{
- Image user_image = new Image (Controller.AvatarFilePath);
+ var user_image = new Image (Controller.AvatarFilePath);
/* TODO: Style the entry neatly, multiple lines, and add placeholder text
string balloon_image_path = new string [] { UserInterface.AssetsPath, "pixmaps", "text-balloon.png" }.Combine ();
@@ -87,31 +87,31 @@ namespace SparkleShare {
balloon.StyleContext.AddProvider (balloon_css_provider, 800);
*/
- Label balloon_label = new Label ("Anything to add?") {
+ var balloon_label = new Label ("Anything to add?") {
Xalign = 0,
UseMarkup = true
};
- Entry balloon = new Entry () { MaxLength = 144 };
+ var balloon = new Entry { MaxLength = 144 };
- Button cancel_button = new Button ("Cancel");
- Button sync_button = new Button ("Sync"); // TODO: Make default button
+ var cancel_button = new Button ("Cancel");
+ var sync_button = new Button ("Sync"); // TODO: Make default button
sync_button.CanDefault = true;
cancel_button.Clicked += delegate { Controller.CancelClicked (); };
sync_button.Clicked += delegate { Controller.SyncClicked (balloon.Buffer.Text); };
- VBox layout_vertical = new VBox (false, 16);
- HBox layout_horizontal = new HBox (false, 16);
+ var layout_vertical = new VBox (false, 16);
+ var layout_horizontal = new HBox (false, 16);
- HBox buttons = new HBox () {
+ var buttons = new HBox {
Homogeneous = false,
Spacing = 6
};
- Label user_label = new Label () {
+ var user_label = new Label {
Markup = "" + SparkleShare.Controller.CurrentUser.Name + "\n" +
"" + SparkleShare.Controller.CurrentUser.Email +
""