X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=blobdiff_plain;f=src%2Fmoonshot-warning-dialog.vala;h=347137777fe8d66b3e25ba29e6e883d4fb3c014a;hp=b26d609a7b62e6d3e595bd5a4091d104ad6b11d7;hb=6126cbf57cedf1523c30d8ad3cdf15f272185a99;hpb=76984ac55ee33ff3db782853fcf95fa14e0a9f98 diff --git a/src/moonshot-warning-dialog.vala b/src/moonshot-warning-dialog.vala index b26d609..3471377 100644 --- a/src/moonshot-warning-dialog.vala +++ b/src/moonshot-warning-dialog.vala @@ -75,9 +75,10 @@ class WarningDialog remember_checkbutton.set_receives_default(false); Container action_area = (Container) dialog.get_action_area(); - Button yes_button = (Button) dialog.get_widget_for_response(ResponseType.YES); - yes_button.grab_default(); - yes_button.grab_focus(); + //!! dialog.get_widget_for_response is not available on Centos 6 + // Button yes_button = (Button) dialog.get_widget_for_response(ResponseType.YES); + // yes_button.grab_default(); + // yes_button.grab_focus(); // Not sure if 0.26 is the minimum for MessageDialog.get_message_area. 0.16 sure isn't :-( #if VALA_0_26