Revision: 4218
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4218&view=rev
Author:   atkac
Date:     2010-12-08 13:49:50 +0000 (Wed, 08 Dec 2010)

Log Message:
-----------
[Development] Remove the "Encryption" combo box from the Windows viewer.

Modified Paths:
--------------
    trunk/win/vncviewer/ConnectionDialog.cxx
    trunk/win/vncviewer/resource.h
    trunk/win/vncviewer/vncviewer.rc

Modified: trunk/win/vncviewer/ConnectionDialog.cxx
===================================================================
--- trunk/win/vncviewer/ConnectionDialog.cxx    2010-12-08 13:48:29 UTC (rev 
4217)
+++ trunk/win/vncviewer/ConnectionDialog.cxx    2010-12-08 13:49:50 UTC (rev 
4218)
@@ -49,13 +49,6 @@
 
   // Select the first item in the list
   SendMessage(box, CB_SETCURSEL, 0, 0);
-
-  // Fill out the Security: drop-down and select the preferred option
-  HWND security = GetDlgItem(handle, IDC_SECURITY_LEVEL);
-  LRESULT n = SendMessage(security, CB_ADDSTRING, 0, (LPARAM)_T("Always Off"));
-  if (n != CB_ERR)
-    SendMessage(security, CB_SETCURSEL, n, 0);
-  enableItem(IDC_SECURITY_LEVEL, false);
 }
 
 

Modified: trunk/win/vncviewer/resource.h
===================================================================
--- trunk/win/vncviewer/resource.h      2010-12-08 13:48:29 UTC (rev 4217)
+++ trunk/win/vncviewer/resource.h      2010-12-08 13:49:50 UTC (rev 4218)
@@ -68,7 +68,6 @@
 #define IDC_MENU_KEY                    1051
 #define IDC_REQUESTED_ENCODING          1052
 #define IDC_LAST_ENCODING               1053
-#define IDC_SECURITY_LEVEL              1054
 #define IDC_INFO_ENCRYPTION             1055
 #define IDC_AUTO_RECONNECT              1056
 #define IDC_DISABLE_WINKEYS             1057

Modified: trunk/win/vncviewer/vncviewer.rc
===================================================================
--- trunk/win/vncviewer/vncviewer.rc    2010-12-08 13:48:29 UTC (rev 4217)
+++ trunk/win/vncviewer/vncviewer.rc    2010-12-08 13:49:50 UTC (rev 4218)
@@ -148,7 +148,7 @@
 CAPTION "VNC Viewer : Connection Details"
 FONT 8, "MS Sans Serif"
 BEGIN
-    COMBOBOX        IDC_SERVER_EDIT,85,6,105,234,CBS_DROPDOWN | 
+    COMBOBOX        IDC_SERVER_EDIT,85,15,105,234,CBS_DROPDOWN | 
                     CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
     PUSHBUTTON      "&About...",IDC_ABOUT,5,45,50,14
     PUSHBUTTON      "&Options...",IDC_OPTIONS,60,45,50,14
@@ -156,10 +156,7 @@
     PUSHBUTTON      "Cancel",IDCANCEL,170,45,48,14
     CONTROL         120,IDI_ICON,"Static",SS_BITMAP | SS_REALSIZEIMAGE,5,6,
                     20,20
-    RTEXT           "Server:",IDC_STATIC,43,6,37,13,SS_CENTERIMAGE
-    RTEXT           "Encryption:",IDC_STATIC,43,24,37,12,SS_CENTERIMAGE
-    COMBOBOX        IDC_SECURITY_LEVEL,85,24,105,76,CBS_DROPDOWNLIST | 
-                    CBS_SORT | WS_VSCROLL | WS_TABSTOP
+    RTEXT           "Server:",IDC_STATIC,43,15,37,13,SS_CENTERIMAGE
 END
 
 IDD_ABOUT DIALOG DISCARDABLE  0, 0, 249, 92


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to