From 9b77caf7562e3acc17f5e6ffa92d65ded17fc7b2 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 1 Apr 2005 07:34:30 +0000 Subject: [PATCH] Fix mismatch in model types, noticed by Martin Kretzschmar. Fri Apr 1 02:33:41 2005 Jonathan Blandford * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in model types, noticed by Martin Kretzschmar. --- ChangeLog | 5 +++++ shell/ev-sidebar-links.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37a0cc46..faf52b3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 1 02:33:41 2005 Jonathan Blandford + + * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in + model types, noticed by Martin Kretzschmar. + 2005-04-01 Kristian Høgsberg * pdf/ev-poppler.cc: Implement search based on diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c index a278034a..8e850681 100644 --- a/shell/ev-sidebar-links.c +++ b/shell/ev-sidebar-links.c @@ -126,13 +126,13 @@ create_loading_model (void) /* Creates a fake model to indicate that we're loading */ retval = (GtkTreeModel *)gtk_list_store_new (EV_DOCUMENT_LINKS_COLUMN_NUM_COLUMNS, G_TYPE_STRING, - G_TYPE_BOOLEAN, G_TYPE_OBJECT); gtk_list_store_append (GTK_LIST_STORE (retval), &iter); markup = g_strdup_printf ("%s", _("Loading...")); gtk_list_store_set (GTK_LIST_STORE (retval), &iter, EV_DOCUMENT_LINKS_COLUMN_MARKUP, markup, + EV_DOCUMENT_LINKS_COLUMN_LINK, NULL, -1); g_free (markup); @@ -224,7 +224,7 @@ links_page_num_func (GtkTreeViewColumn *tree_column, page_string = g_markup_printf_escaped ("%s", page_label); g_object_set (cell, - "markup", page_string, + "markup", page_string, "visible", TRUE, NULL); -- 2.43.5