mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #460 from Pan7/okcancelorder
Switch OK-Cancel order for the preference dialog
This commit is contained in:
commit
7eec9a733f
1 changed files with 6 additions and 6 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue