[evince] shell: Expand sidebar annotations by default



commit 6a6090aad4cc605738f375c7f20f307913924613
Author: Mads Chr. Olesen <mads mchro dk>
Date:   Wed Jan 15 19:54:26 2020 +0100

    shell: Expand sidebar annotations by default
    
    For annotations, we want to display the content of every annotation
    (in a way, similar to thumbnails). Thus the user may navigate
    through the annotations without opening one by one to find out
    the one the user is looking for.

 shell/ev-sidebar-annotations.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c
index fd1be900..f7961276 100644
--- a/shell/ev-sidebar-annotations.c
+++ b/shell/ev-sidebar-annotations.c
@@ -500,6 +500,7 @@ job_finished_callback (EvJobAnnots          *job,
 
        gtk_tree_view_set_model (GTK_TREE_VIEW (priv->tree_view),
                                 GTK_TREE_MODEL (model));
+       gtk_tree_view_expand_all (GTK_TREE_VIEW (priv->tree_view));
        g_object_unref (model);
 
        if (text_icon)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]