Fixed activating the default response in the "Open" dialog
This commit is contained in:
parent
8be21e7e88
commit
31986b6070
|
@ -314,6 +314,7 @@ static int _helper_open_dialog(Helper * helper)
|
|||
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_OK, NULL);
|
||||
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
|
||||
#if GTK_CHECK_VERSION(2, 14, 0)
|
||||
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user