[nautilus] When showing a window for the first time, focus the active slots view
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] When showing a window for the first time, focus the active slots view
- Date: Thu, 17 Dec 2009 15:33:54 +0000 (UTC)
commit c69f3a2ba2d0bd23de5a218b8ce13d256481213a
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 17 16:32:23 2009 +0100
When showing a window for the first time, focus the active slots view
src/nautilus-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 38df1e6..c2194fc 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -707,6 +707,8 @@ nautilus_window_view_visible (NautilusWindow *window,
}
}
+ nautilus_view_grab_focus (window->details->active_pane->active_slot->content_view);
+
/* All slots and panes visible, show window */
nautilus_window_show_window (window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]