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
> 




Reply via email to