[tomboy] Set the focus on the search field every time the recent changes window is presented
- From: Benjamin Podszun <bpodszun src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy] Set the focus on the search field every time the recent changes window is presented
- Date: Fri, 22 May 2009 06:43:04 -0400 (EDT)
commit fa56fca907a9f3eb8b994f05d8f6c78e3265df6e
Author: Benjamin Podszun <benjamin podszun gmail com>
Date: Wed May 20 22:25:16 2009 +0200
Set the focus on the search field every time the recent changes window is presented
Fixes bug #535131
---
Tomboy/RecentChanges.cs | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Tomboy/RecentChanges.cs b/Tomboy/RecentChanges.cs
index ce350ee..86733bd 100644
--- a/Tomboy/RecentChanges.cs
+++ b/Tomboy/RecentChanges.cs
@@ -204,6 +204,13 @@ namespace Tomboy
Tomboy.ExitingEvent += OnExitingEvent;
}
+ public new void Present ()
+ {
+ base.Present ();
+
+ find_combo.Entry.GrabFocus ();
+ }
+
Gtk.MenuBar CreateMenuBar ()
{
ActionManager am = Tomboy.ActionManager;
@@ -993,7 +1000,6 @@ namespace Tomboy
// Select "All Notes" in the notebooks list
SelectAllNotesNotebook ();
- find_combo.Entry.GrabFocus ();
base.OnShown ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]