use GTK_RESPONSE_ACCEPT to make it work properly with
2007-01-16 Sven Neumann <sven@gimp.org> * app/widgets/gimpprofilechooserdialog.c: use GTK_RESPONSE_ACCEPT to make it work properly with GtkFileChooserButton. svn path=/trunk/; revision=21723
This commit is contained in:

committed by
Sven Neumann

parent
7f7d4366a0
commit
7570bf60ee
@ -1,3 +1,8 @@
|
||||
2007-01-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpprofilechooserdialog.c: use GTK_RESPONSE_ACCEPT
|
||||
to make it work properly with GtkFileChooserButton.
|
||||
|
||||
2007-01-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpprofilechooserdialog.c: include *.icm files in
|
||||
|
@ -125,14 +125,16 @@ gimp_profile_chooser_dialog_constructor (GType type,
|
||||
|
||||
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
|
||||
NULL);
|
||||
|
||||
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
|
||||
GTK_RESPONSE_OK,
|
||||
GTK_RESPONSE_ACCEPT,
|
||||
GTK_RESPONSE_CANCEL,
|
||||
-1);
|
||||
|
||||
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
{
|
||||
const gchar folder[] = "/usr/share/color/icc";
|
||||
|
Reference in New Issue
Block a user