Replace some hardcoded values by MessageDialog constants

cusax-fix
Ingo Bauersachs 15 years ago
parent bbb7ea155d
commit ce12e175b4

@ -1616,11 +1616,11 @@ private static boolean showDesktopSharingWarning()
switch (result)
{
case 0:
case MessageDialog.OK_RETURN_CODE:
return true;
case 1:
case MessageDialog.CANCEL_RETURN_CODE:
return false;
case 2:
case MessageDialog.OK_DONT_ASK_CODE:
GuiActivator.getConfigurationService()
.setProperty(desktopSharingWarningProperty, false);
return true;

Loading…
Cancel
Save