Re: Geometry solved!


Subject: Re: Geometry solved!
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Sep 04 2000 - 01:23:34 CDT


I'll check this out tomorrow.

Martin

On Sun, 3 Sep 2000, James Alan Brown wrote:

> The reason why you can not set the Geometry params in KDE
>
> maybe we need to test and do
>
> if Gnome { }
> else
>
>
>
>
> *** af/xap/unix/xap_UnixFrame.cpp ***
>
> // Set the size if requested (no good for KDE Geometry)!
>
> if (f & XAP_UnixApp::GEOMETRY_FLAG_SIZE)
> { gint abi_width = UT_MIN( gdk_screen_width() - 30, 950);
> gint abi_height = UT_MIN( gdk_screen_height() - 100, 1200);
> gtk_widget_set_usize(m_wTopLevelWindow,
> abi_width,
> abi_height);
> }
> ///////////////This works fine for KDE ///////////////////////
>
> if (f & XAP_UnixApp::GEOMETRY_FLAG_SIZE)
> gtk_widget_set_usize(m_wTopLevelWindow,
> width, height);
>
>
> Regards,
> James
>



This archive was generated by hypermail 2b25 : Mon Sep 04 2000 - 01:23:48 CDT