print dialog: Fix layout preview drawing

Use the CSS name paper for this as well, and make sure Adwaita
sets a color that makes the text visible in the dark theme as well.
This commit is contained in:
Matthias Clasen
2016-02-03 16:06:05 +01:00
parent a0363e5f0a
commit 0bcd8603eb
4 changed files with 9 additions and 1 deletions

View File

@ -803,6 +803,7 @@ gtk_print_unix_dialog_init (GtkPrintUnixDialog *dialog)
_gtk_print_load_custom_papers (priv->custom_paper_list);
gtk_css_node_set_name (gtk_widget_get_css_node (priv->collate_image), I_("paper"));
gtk_css_node_set_name (gtk_widget_get_css_node (priv->page_layout_preview), I_("paper"));
}
static void