From 404174f6c844a84ce94103baadd0c91caaa18aec Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Wed, 5 May 2010 12:22:46 +0000 Subject: [PATCH] When copying default styles to current styles, also take the pager layout into account. git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@267 ddfedd41-794f-dd11-ae45-00112f111e67 --- libchimara/style.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libchimara/style.c b/libchimara/style.c index a879b2c..38e6901 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -307,6 +307,9 @@ copy_default_styles_to_current_styles(ChimaraGlk *glk) CHIMARA_GLK_USE_PRIVATE(glk, priv); g_hash_table_foreach(priv->default_styles->text_grid, style_table_copy, priv->current_styles->text_grid); g_hash_table_foreach(priv->default_styles->text_buffer, style_table_copy, priv->current_styles->text_buffer); + + GtkTextTag *pager_tag = GTK_TEXT_TAG( g_hash_table_lookup(priv->default_styles->text_buffer, "pager") ); + text_tag_to_attr_list(pager_tag, priv->pager_attr_list); } /* Create the CSS file scanner */ -- 2.30.2