From 6f776f08146d2d871ecf0635c95b54373a5538d9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 3 Jan 2011 12:54:48 -0500 Subject: [PATCH] Scale down print dialog size Shrink the preview display a little to make the print dialog fit on a typical netbook screen. https://bugzilla.gnome.org/show_bug.cgi?id=637958 --- gtk/gtkprintunixdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index b3853fc42a..6b8ea46ee4 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -61,7 +61,7 @@ #include "gtkmessagedialog.h" #include "gtkbutton.h" -#define EXAMPLE_PAGE_AREA_SIZE 140 +#define EXAMPLE_PAGE_AREA_SIZE 110 #define RULER_DISTANCE 7.5 #define RULER_RADIUS 2 @@ -3509,7 +3509,7 @@ create_page_setup_page (GtkPrintUnixDialog *dialog) draw = gtk_drawing_area_new (); gtk_widget_set_has_window (draw, FALSE); priv->page_layout_preview = draw; - gtk_widget_set_size_request (draw, 350, 200); + gtk_widget_set_size_request (draw, 280, 160); g_signal_connect (draw, "expose-event", G_CALLBACK (draw_page_cb), dialog); gtk_widget_show (draw);