From a06574d666a0f382054cb681f1f10ef8bb0b6e4c Mon Sep 17 00:00:00 2001 From: James Willcox Date: Thu, 19 Apr 2007 23:16:56 +0000 Subject: add a 'connect' button :) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-ui-sharp/zssh.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit