]> git.meshlink.io Git - catta/commitdiff
add a 'connect' button :)
authorJames Willcox <snopr@snorp.net>
Thu, 19 Apr 2007 23:16:56 +0000 (23:16 +0000)
committerJames Willcox <snopr@snorp.net>
Thu, 19 Apr 2007 23:16:56 +0000 (23:16 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-ui-sharp/zssh.cs

index ad45ca95ab39ab139bbdaa1f5ecb7ca7c7e669dc..003a3a66e13b76b1e89e75f0c7c425022cdf9242 100644 (file)
@@ -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;