From 908e491f7d55209acfbb2595ab1ef5b24502d641 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 03:10:32 +0200 Subject: get rid of a lot of old svn cruft --- avahi-ui-sharp/bssh.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'avahi-ui-sharp/bssh.cs') diff --git a/avahi-ui-sharp/bssh.cs b/avahi-ui-sharp/bssh.cs index 003a3a6..fa3d4d4 100644 --- a/avahi-ui-sharp/bssh.cs +++ b/avahi-ui-sharp/bssh.cs @@ -5,8 +5,8 @@ using Avahi.UI; public class EntryPoint { public static void Main () { - Application.Init (); - + Application.Init (); + ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null, Stock.Cancel, ResponseType.Cancel, Stock.Connect, ResponseType.Accept); @@ -17,11 +17,11 @@ public class EntryPoint { Console.WriteLine ("Connecting to {0}:{1}", dialog.Address, dialog.Port); string user = Environment.UserName; - + foreach (byte[] txtBytes in dialog.TxtData) { string txt = System.Text.Encoding.UTF8.GetString (txtBytes); string[] splitTxt = txt.Split(new char[] { '=' }, 2); - + if (splitTxt.Length != 2) continue; -- cgit