[gnome-commander] Set default response to find, fixes bgo#748869
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Set default response to find, fixes bgo#748869
- Date: Sat, 9 May 2015 17:37:42 +0000 (UTC)
commit f39a121dd042cc88ccec03af53b2627ebb7b0134
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Sat May 9 18:59:24 2015 +0200
Set default response to find, fixes bgo#748869
Signed-off-by: Uwe Scholz <uwescholz src gnome org>
src/dialogs/gnome-cmd-search-dialog.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 8bd48da..fd5b55c 100644
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -532,7 +532,8 @@ static gboolean update_search_status_widgets (SearchData *data)
gtk_dialog_set_response_sensitive (*data->dialog, GnomeCmdSearchDialog::GCMD_RESPONSE_GOTO,
matches>0);
gtk_dialog_set_response_sensitive (*data->dialog, GnomeCmdSearchDialog::GCMD_RESPONSE_STOP, FALSE);
gtk_dialog_set_response_sensitive (*data->dialog, GnomeCmdSearchDialog::GCMD_RESPONSE_FIND, TRUE);
-
+ gtk_dialog_set_default_response (*data->dialog, GnomeCmdSearchDialog::GCMD_RESPONSE_FIND);
+
if (matches)
gtk_widget_grab_focus (*data->dialog->priv->result_list); // set focus to result list
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]