commit -- Better looking print dialog in Unix


Subject: commit -- Better looking print dialog in Unix
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Fri Jun 23 2000 - 20:07:08 CDT


Anders Melchiorsen suggested not calling gtk_widget_set_usize to prevent
the print dialog from being the wrong size. Thanks. I don't know if you can get
into the CREDITS file by removing code, but this shouldn't be a problem
since I'm sure Anders will contribute more patches in the future ;-).
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/xap/unix/xap_UnixDlg_Print.cpp
CVS:
----------------------------------------------------------------------

On 24 Jun 2000, Anders Melchiorsen wrote:

> Hi,
>
> my first patch for AbiWord. I grew too tired of the print dialog being
> too small for its widgets in my Linux setup.
>
> grep'ing through the source I see lots of other set_usize calls which
> I believe is in many cases a bad idea for proper dynamic layout. GTK+
> is perfectly able to size windows nicely, even with my custom font
> which is slightly larger than the default one. However, the print
> dialog was the worst looking and was easy to fix.
>
> I hope this is applied - unless I got something really wrong, of
> course :-).
>
>
> Kind regards,
> Anders.
>
>
>
>
>
> diff -u -r1.40 xap_UnixDlg_Print.cpp
> --- src/af/xap/unix/xap_UnixDlg_Print.cpp 2000/05/25 18:52:58 1.40
> +++ src/af/xap/unix/xap_UnixDlg_Print.cpp 2000/06/23 21:10:24
> @@ -230,7 +230,6 @@
>
> gtk_window_set_title (GTK_WINDOW (window), pSS->getValue(XAP_STRING_ID_DLG_UP_PrintTitle));
> gtk_container_set_border_width (GTK_CONTAINER (window), 0);
> - gtk_widget_set_usize (window, 370, 275);
>
> // Add a main vbox
> vbox1 = gtk_vbox_new (FALSE, 0);
>
>



This archive was generated by hypermail 2b25 : Fri Jun 23 2000 - 20:08:55 CDT