Subject: Geometry solved!
From: James Alan Brown (James@jabcomp.force9.co.uk)
Date: Sun Sep 03 2000 - 13:35:36 CDT
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 : Sun Sep 03 2000 - 13:40:52 CDT