[nautilus] Remove grab_focus from list view
- From: Holger Berndt <hb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Remove grab_focus from list view
- Date: Thu, 11 Mar 2010 18:39:23 +0000 (UTC)
commit 797cacb28b78fede43b713dbd1fba2479bdbe943
Author: Holger Berndt <hb gnome org>
Date: Thu Mar 11 19:35:42 2010 +0100
Remove grab_focus from list view
The grab_focus interface function is now implemented
in the directory view. There's no need for special handling
of list views anymore.
src/file-manager/fm-list-view.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 2ba25f4..9ebce75 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -2829,12 +2829,6 @@ list_view_scroll_to_file (NautilusView *view,
}
static void
-fm_list_view_grab_focus (NautilusView *view)
-{
- gtk_widget_grab_focus (GTK_WIDGET (FM_LIST_VIEW (view)->details->tree_view));
-}
-
-static void
real_set_is_active (FMDirectoryView *view,
gboolean is_active)
{
@@ -2929,7 +2923,6 @@ fm_list_view_iface_init (NautilusViewIface *iface)
iface->get_first_visible_file = fm_list_view_get_first_visible_file;
iface->scroll_to_file = list_view_scroll_to_file;
iface->get_title = NULL;
- iface->grab_focus = fm_list_view_grab_focus;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]