--- np2/x11/gtk2/dialog_config.c 2004/07/14 16:01:40 1.1 +++ np2/x11/gtk2/dialog_config.c 2005/03/12 12:36:57 1.4 @@ -1,4 +1,4 @@ -/* $Id: dialog_config.c,v 1.1 2004/07/14 16:01:40 monaka Exp $ */ +/* $Id: dialog_config.c,v 1.4 2005/03/12 12:36:57 monaka Exp $ */ /* * Copyright (c) 2002-2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -474,6 +472,9 @@ create_configure_dialog(void) if (np2oscfg.resume) { g_signal_emit_by_name(GTK_OBJECT(resume_checkbutton), "clicked"); } +#if defined(CPUCORE_IA32) + gtk_widget_set_sensitive(resume_checkbutton, FALSE); +#endif #if defined(GCC_CPU_ARCH_IA32) /* Disable MMX */ @@ -491,7 +492,6 @@ create_configure_dialog(void) * OK, Cancel button */ ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); - //gtk_widget_set_usize(ok_button, 80, 0); gtk_widget_show(ok_button); gtk_container_add(GTK_CONTAINER(confirm_widget), ok_button); GTK_WIDGET_SET_FLAGS(ok_button, GTK_CAN_DEFAULT); @@ -501,7 +501,6 @@ create_configure_dialog(void) gtk_widget_grab_default(ok_button); cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); - //gtk_widget_set_usize(cancel_button, 80, 0); gtk_widget_show(cancel_button); gtk_container_add(GTK_CONTAINER(confirm_widget), cancel_button); GTK_WIDGET_SET_FLAGS(cancel_button, GTK_CAN_DEFAULT);