diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-06-08 05:12:47 (GMT) |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-06-08 05:12:47 (GMT) |
commit | d2222e0879e7bd247bec339105bc2c057907b9b5 (patch) | |
tree | 77d9e1f49b4dc2e9b3ed3e122d1426d74e8f5f86 /shell/ev-window.c | |
parent | bca369672136e5ff831ece9832afd42085808fba (diff) |
Use a GtkIconView in certain situations. That situation is that you're
Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
situations. That situation is that you're using GTK+-HEAD with
the patch at #306726 is applied, and you have a document with <
1500 pages in it. It's not quite as uniformly nice as the
TreeView, but should be better in the long run.
I'm pretty sure I guarded against breaking compilation with
HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
I missed some.
* shell/ev-window.c (ev_window_init): We don't have our tree/list
widget yet, so I commented that code out
enable_view_actions_for_widget() for now. Need to figure this
out.
* shell/ev-page-action.c (match_selected_cb): emit the right
signals. Our cool C-l completion now works.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 577ee4c..f3c7a46 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2951,7 +2951,7 @@ ev_window_init (EvWindow *ev_window) sidebar_widget = ev_sidebar_thumbnails_new (); tree_view = ev_sidebar_thumbnails_get_treeview (EV_SIDEBAR_THUMBNAILS (sidebar_widget)); - enable_view_actions_for_widget (ev_window, tree_view); + //enable_view_actions_for_widget (ev_window, tree_view); gtk_widget_show (sidebar_widget); ev_sidebar_add_page (EV_SIDEBAR (ev_window->priv->sidebar), sidebar_widget); |