From d2222e0879e7bd247bec339105bc2c057907b9b5 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Wed, 08 Jun 2005 05:12:47 +0000 Subject: Use a GtkIconView in certain situations. That situation is that you're Wed Jun 8 01:04:22 2005 Jonathan Blandford * 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. --- (limited to 'shell/ev-page-action.c') diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 076dff1..5b45b31 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -344,7 +344,7 @@ match_selected_cb (GtkEntryCompletion *completion, EV_DOCUMENT_LINKS_COLUMN_LINK, &link, -1); - g_signal_emit (proxy, signals[ACTIVATE_LINK], 0, link); + g_signal_emit (proxy, widget_signals[WIDGET_ACTIVATE_LINK], 0, link); return TRUE; } -- cgit v0.9.1