summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Willcox <snopr@snorp.net>2007-04-19 23:16:56 +0000
committerJames Willcox <snopr@snorp.net>2007-04-19 23:16:56 +0000
commita06574d666a0f382054cb681f1f10ef8bb0b6e4c (patch)
tree59dd99800338e50a0799f7518c7e58562e74f721
parentbe7ce5a2f7f46e48c391d9b9c7501e4e138fc8c5 (diff)
add a 'connect' button :)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-ui-sharp/zssh.cs4
1 files changed, 3 insertions, 1 deletions
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;