From: Marijn van Vliet Date: Wed, 5 May 2010 12:22:46 +0000 (+0000) Subject: When copying default styles to current styles, also take the pager layout into account. X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=commitdiff_plain;h=404174f6c844a84ce94103baadd0c91caaa18aec 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 --- 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 */