summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-02-03 16:06:05 +0100
committerMatthias Clasen <mclasen@redhat.com>2016-02-03 16:07:51 +0100
commit0bcd8603ebf861de29dfe3316c9f3c04d78f50f3 (patch)
tree7f1c7f41490fcad7cb82d17c827c03b12244624f /gtk/gtkprintunixdialog.c
parenta0363e5f0a10703a98ae14971fe13f8aed138aba (diff)
downloadgtk+-0bcd8603ebf861de29dfe3316c9f3c04d78f50f3.tar.gz
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.
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index fd917efc78..f47b9bcb57 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -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