[tepl] Tab: set_no_show_all() on the TeplGotoLineBar



commit 3fad4ae94d6017060603be216d20a53870d8fc8e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed May 6 18:21:33 2020 +0200

    Tab: set_no_show_all() on the TeplGotoLineBar

 tepl/tepl-tab.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tepl/tepl-tab.c b/tepl/tepl-tab.c
index 861ee6c..a9dd1a1 100644
--- a/tepl/tepl-tab.c
+++ b/tepl/tepl-tab.c
@@ -472,6 +472,9 @@ tepl_tab_get_goto_line_bar (TeplTab *tab)
                tab->priv->goto_line_bar = tepl_goto_line_bar_new ();
                g_object_ref_sink (tab->priv->goto_line_bar);
 
+               /* The TeplGotoLineBar needs to be explicitly shown/hidden. */
+               gtk_widget_set_no_show_all (GTK_WIDGET (tab->priv->goto_line_bar), TRUE);
+
                tepl_goto_line_bar_set_view (tab->priv->goto_line_bar,
                                             tab->priv->view);
 


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