[gedit] Select text in the search popup entry.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Select text in the search popup entry.
- Date: Tue, 12 Apr 2011 16:35:36 +0000 (UTC)
commit 78a90f3019b36b6e001a505dcc16a62769c92b9a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Apr 12 18:34:56 2011 +0200
Select text in the search popup entry.
Pressing control+f when the search popup is visible it selects the
text in the entry.
gedit/gedit-view-frame.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-view-frame.c b/gedit/gedit-view-frame.c
index 4a51609..00cdaa4 100644
--- a/gedit/gedit-view-frame.c
+++ b/gedit/gedit-view-frame.c
@@ -1301,6 +1301,8 @@ start_interactive_search_real (GeditViewFrame *frame)
}
else
{
+ gtk_editable_select_region (GTK_EDITABLE (frame->priv->search_entry),
+ 0, -1);
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]