[gnome-builder] recent: disable insertion cursor from removed files text view



commit 46ba4c0def0e2bed4765f329ac0300fdd3d287ac
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 14 11:10:22 2019 -0800

    recent: disable insertion cursor from removed files text view

 src/plugins/recent/gbp-recent-section.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/recent/gbp-recent-section.c b/src/plugins/recent/gbp-recent-section.c
index 337df41b0..8545fc211 100644
--- a/src/plugins/recent/gbp-recent-section.c
+++ b/src/plugins/recent/gbp-recent-section.c
@@ -466,6 +466,7 @@ gbp_recent_section_purge_selected_full (IdeGreeterSection *section,
 
       view = gtk_text_view_new ();
       gtk_text_view_set_editable (GTK_TEXT_VIEW (view), FALSE);
+      gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (view), FALSE);
       buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
       gtk_container_add (GTK_CONTAINER (scroller), view);
       gtk_widget_show (view);


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