Merge pull request #460 from Pan7/okcancelorder

Switch OK-Cancel order for the preference dialog
This commit is contained in:
Timothee "TTimo" Besset 2017-04-22 15:12:17 -05:00 committed by GitHub
commit 7eec9a733f
1 changed files with 6 additions and 6 deletions

View File

@ -1577,18 +1577,18 @@ void PrefsDlg::BuildDialog(){
gtk_box_pack_end( GTK_BOX( mainvbox ), hbox, FALSE, TRUE, 0 );
gtk_widget_show( hbox );
button = gtk_button_new_with_label( _( "OK" ) );
gtk_box_pack_end( GTK_BOX( hbox ), button, FALSE, FALSE, 0 );
gtk_widget_set_size_request( button, 60, -1 );
gtk_widget_show( button );
AddModalButton( button, IDOK );
button = gtk_button_new_with_label( _( "Cancel" ) );
gtk_box_pack_end( GTK_BOX( hbox ), button, FALSE, FALSE, 0 );
gtk_widget_set_size_request( button, 60, -1 );
gtk_widget_show( button );
AddModalButton( button, IDCANCEL );
button = gtk_button_new_with_label( _( "OK" ) );
gtk_box_pack_end( GTK_BOX( hbox ), button, FALSE, FALSE, 0 );
gtk_widget_set_size_request( button, 60, -1 );
gtk_widget_show( button );
AddModalButton( button, IDOK );
button = gtk_button_new_with_label( _( "Clean" ) );
g_signal_connect( G_OBJECT( button ), "clicked", G_CALLBACK( OnButtonClean ), this );
gtk_box_pack_start( GTK_BOX( hbox ), button, FALSE, FALSE, 0 );