Hello community, here is the log from the commit of package sax2 checked in at Tue Sep 9 22:20:44 CEST 2008. -------- --- sax2/sax2.changes 2008-09-04 15:31:03.000000000 +0200 +++ /mounts/work_src_done/STABLE/sax2/sax2.changes 2008-09-09 10:47:48.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 9 10:22:49 CEST 2008 - ms@suse.de + +- allow GUI to be displayed on a 1024x600 area (bnc #419304) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sax2.spec ++++++ --- /var/tmp/diff_new_pack.xN9477/_old 2008-09-09 22:20:05.000000000 +0200 +++ /var/tmp/diff_new_pack.xN9477/_new 2008-09-09 22:20:05.000000000 +0200 @@ -47,7 +47,7 @@ PreReq: /bin/rm /bin/mkdir /usr/bin/chroot %fillup_prereq %insserv_prereq Summary: SuSE advanced X Window System-configuration Version: 8.1 -Release: 507 +Release: 513 Group: System/X11/Utilities License: GPL v2 or later Source: sax2.tar.bz2 @@ -522,6 +522,8 @@ %endif %changelog +* Tue Sep 09 2008 ms@suse.de +- allow GUI to be displayed on a 1024x600 area (bnc #419304) * Thu Sep 04 2008 ms@suse.de - added setPrimaryChip function in init.cpp to allow setup of primary chip and nobus profile in libsax (bnc #417575) ++++++ sax2.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/api/frame.cpp new/sax/api/frame.cpp --- old/sax/api/frame.cpp 2008-06-24 14:00:47.000000000 +0200 +++ new/sax/api/frame.cpp 2008-09-09 10:47:48.000000000 +0200 @@ -176,9 +176,9 @@ if (middle) { int posx = mX - 400; int posy = mY - 300; - setGeometry ( posx,posy,800,600 ); + setGeometry ( posx,posy,800,550 ); } else { - resize ( 800,600 ); + resize ( 800,550 ); } } else { setGeometry ( 0,0,width,height ); @@ -209,10 +209,10 @@ // create area panels //------------------------------------- mMainLayout = new Q3VBoxLayout ( mMainFrame ); - mMainLayout -> setMargin (10); + mMainLayout -> setMargin (5); mTitleLayout= new Q3HBoxLayout ( mMainLayout ); mWorkLayout = new Q3HBoxLayout ( mMainLayout ); - mMainLayout -> addSpacing (10); + //mMainLayout -> addSpacing (10); mMainLayout -> addWidget ( mSeperator ); mMainLayout -> addSpacing (5); mDoneLayout = new Q3HBoxLayout ( mMainLayout ); @@ -224,7 +224,7 @@ mModuleList = new Q3ListBox ( mModuleBox ); QLabel* moduleSpace = new QLabel ( mModuleBox ); moduleSpace -> setFixedWidth ( 10 ); - mModuleList -> setMinimumWidth ( 210 ); + mModuleList -> setMinimumWidth ( 190 ); mModuleList -> setFrameStyle ( Q3Frame::Box | Q3Frame::Raised ); @@ -236,16 +236,17 @@ mDialogBox -> setFrameStyle ( Q3Frame::Box | Q3Frame::NoFrame ); - mModuleTitleBox = new Q3HBox ( mDialogBox ); - mModuleTitleIcon = new QLabel ( mModuleTitleBox ); - mModuleTitleBox -> setSpacing ( 10 ); - mModuleTitleLabel = new Q3VBox ( mModuleTitleBox ); - mModuleTitleBox -> setStretchFactor ( mModuleTitleLabel, 20 ); - mModuleTitle = new QLabel ( mModuleTitleLabel ); - QFont mTitleFont (font()); - mTitleFont.setPointSize (font().pointSize() + 5 ); - mModuleTitle -> setFont ( mTitleFont ); - + if (qApp->desktop()->height() > 600) { + mModuleTitleBox = new Q3HBox ( mDialogBox ); + mModuleTitleIcon = new QLabel ( mModuleTitleBox ); + mModuleTitleBox -> setSpacing ( 10 ); + mModuleTitleLabel = new Q3VBox ( mModuleTitleBox ); + mModuleTitleBox -> setStretchFactor ( mModuleTitleLabel, 20 ); + mModuleTitle = new QLabel ( mModuleTitleLabel ); + QFont mTitleFont (font()); + mTitleFont.setPointSize (font().pointSize() + 5 ); + mModuleTitle -> setFont ( mTitleFont ); + } //===================================== // create widget stack (mWorkLayout) //------------------------------------- @@ -439,9 +440,10 @@ titletext = mText["VNCModuleTopic"]; titlePixmap = QPixmap ( SMALL_VNCSERVE_PIXMAP ); } - mModuleTitle -> setText ( titletext ); - mModuleTitleIcon -> setPixmap ( titlePixmap ); - + if (qApp->desktop()->height() > 600) { + mModuleTitle -> setText ( titletext ); + mModuleTitleIcon -> setPixmap ( titlePixmap ); + } //===================================== // run the selected dialog //------------------------------------- diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/api/xapi.cpp new/sax/api/xapi.cpp --- old/sax/api/xapi.cpp 2008-09-01 16:21:40.000000000 +0200 +++ new/sax/api/xapi.cpp 2008-09-09 10:47:48.000000000 +0200 @@ -200,7 +200,7 @@ //QWidget::WindowFlags wflags = Qt::WType_TopLevel; int width = qApp->desktop()->width(); int height = qApp->desktop()->height(); - if ((mSizeCheck) && ((width <= 800) || (height <= 600))) { + if ((mSizeCheck) && ((width <= 800) && (height <= 600))) { wflags |= Qt::WStyle_Customize | Qt::WStyle_NoBorder; } sccGUI = new SaXGUI::SCCFrame ( diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/svnbuild new/sax/svnbuild --- old/sax/svnbuild 2008-09-04 16:07:57.000000000 +0200 +++ new/sax/svnbuild 2008-09-09 13:36:00.000000000 +0200 @@ -1 +1 @@ -1691 +1696 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org