diff options
author | James Willcox <snopr@snorp.net> | 2007-04-19 23:16:56 +0000 |
---|---|---|
committer | James Willcox <snopr@snorp.net> | 2007-04-19 23:16:56 +0000 |
commit | a06574d666a0f382054cb681f1f10ef8bb0b6e4c (patch) | |
tree | 59dd99800338e50a0799f7518c7e58562e74f721 /avahi-ui-sharp | |
parent | be7ce5a2f7f46e48c391d9b9c7501e4e138fc8c5 (diff) | |
download | avahi-a06574d666a0f382054cb681f1f10ef8bb0b6e4c.tar.gz |
add a 'connect' button :)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-ui-sharp')
-rw-r--r-- | avahi-ui-sharp/zssh.cs | 4 |
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; |