From: James Willcox Date: Thu, 19 Apr 2007 23:16:56 +0000 (+0000) Subject: add a 'connect' button :) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=a06574d666a0f382054cb681f1f10ef8bb0b6e4c;p=catta add a 'connect' button :) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-ui-sharp/zssh.cs b/avahi-ui-sharp/zssh.cs index ad45ca9..003a3a6 100644 --- a/avahi-ui-sharp/zssh.cs +++ b/avahi-ui-sharp/zssh.cs @@ -7,7 +7,9 @@ public class EntryPoint { public static void Main () { Application.Init (); - ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null, Stock.Close, ResponseType.Cancel); + ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null, + Stock.Cancel, ResponseType.Cancel, + Stock.Connect, ResponseType.Accept); dialog.BrowseServiceTypes = new string[] { "_ssh._tcp" }; dialog.ResolveServiceEnabled = true;