Author: tgoettlicher Date: Fri Apr 3 16:00:41 2009 New Revision: 56631 URL: http://svn.opensuse.org/viewcvs/yast?rev=56631&view=rev Log: Fixed view mode options (summaryMode, youMode) (bnc #490176) Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPackageSelector.cc trunk/qt-pkg/yast2-qt-pkg.spec.in Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=56631&r1=56630&r2=56631&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Fri Apr 3 16:00:41 2009 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "18") -SET(VERSION_PATCH "5") +SET(VERSION_PATCH "6") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=56631&r1=56630&r2=56631&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Fri Apr 3 16:00:41 2009 @@ -1,4 +1,15 @@ ------------------------------------------------------------------- +Fri Apr 3 15:51:09 CEST 2009 - tgoettlicher@suse.de + +- Fixed view mode options (summaryMode, youMode) (bnc #490176) + +------------------------------------------------------------------- +Thu Apr 2 10:35:05 CEST 2009 - tgoettlicher@suse.de + +- Fixed libzypp dependency +- V 2.18.6 + +------------------------------------------------------------------- Tue Mar 17 17:40:49 CET 2009 - tgoettlicher@suse.de - Fixed sort by version (bnc #467871) Modified: trunk/qt-pkg/src/YQPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPackageSelector.cc?rev=56631&r1=56630&r2=56631&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPackageSelector.cc (original) +++ trunk/qt-pkg/src/YQPackageSelector.cc Fri Apr 3 16:00:41 2009 @@ -149,6 +149,28 @@ if ( _pkgList ) _pkgList->clear(); + if ( ! pagesRestored ) + { + yuiDebug() << "No page configuration saved, using fallbacks" << endl; + + // + // Add a number of default tabs in the desired order + // + + if ( _searchFilterView ) _filters->showPage( _searchFilterView ); + + if ( ! searchMode() && ! summaryMode() + && _patternList ) _filters->showPage( _patternList ); + else if ( _rpmGroupTagsFilterView ) _filters->showPage( _rpmGroupTagsFilterView ); + + if ( _statusFilterView ) _filters->showPage( _statusFilterView ); + } + + + // + // Move the desired tab to the foreground + // + if ( _patchFilterView && onlineUpdateMode() ) { if ( _patchFilterView && _patchList ) @@ -169,47 +191,24 @@ { _filters->showPage( _updateProblemFilterView ); _updateProblemFilterView->filter(); - } - - if ( ! pagesRestored ) + else if ( searchMode() && _searchFilterView ) { - yuiDebug() << "No page configuration saved, using fallbacks" << endl; - - // - // Add a number of default tabs in the desired order - // - - if ( _searchFilterView ) _filters->showPage( _searchFilterView ); - - if ( ! searchMode() && ! summaryMode() - && _patternList ) _filters->showPage( _patternList ); - else if ( _rpmGroupTagsFilterView ) _filters->showPage( _rpmGroupTagsFilterView ); - - if ( _statusFilterView ) _filters->showPage( _statusFilterView ); - - - // - // Move the desired tab to the foreground - // - - if ( searchMode() && _searchFilterView ) - { - _filters->showPage( _searchFilterView ); - _searchFilterView->filter(); - QTimer::singleShot( 0, _searchFilterView, SLOT( setFocus() ) ); - } - else if ( summaryMode() && _statusFilterView ) - { - _filters->showPage( _statusFilterView ); - _statusFilterView->filter(); - } - else if ( _patternList ) - { - _filters->showPage( _patternList ); - _patternList->filter(); - } + _filters->showPage( _searchFilterView ); + _searchFilterView->filter(); + QTimer::singleShot( 0, _searchFilterView, SLOT( setFocus() ) ); } + else if ( summaryMode() && _statusFilterView ) + { + _filters->showPage( _statusFilterView ); + _statusFilterView->filter(); + } + else if ( _patternList ) + { + _filters->showPage( _patternList ); + _patternList->filter(); + } + if ( _filters->diskUsageList() ) _filters->diskUsageList()->updateDiskUsage(); Modified: trunk/qt-pkg/yast2-qt-pkg.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/yast2-qt-pkg.spec.in?rev=56631&r1=56630&r2=56631&view=diff ============================================================================== --- trunk/qt-pkg/yast2-qt-pkg.spec.in (original) +++ trunk/qt-pkg/yast2-qt-pkg.spec.in Fri Apr 3 16:00:41 2009 @@ -9,9 +9,9 @@ BuildRequires: yast2-devtools >= 2.16.3 Requires: yast2-qt >= 2.17.13 BuildRequires: yast2-qt-devel >= 2.17.13 -BuildRequires: libzypp-devel >= 6.2.2 +BuildRequires: libzypp-devel >= 6.3.0 BuildRequires: yast2-libyui-devel >= 2.17.14 -Requires: libzypp >= 6.2.2 +Requires: libzypp >= 6.3.0 Requires: yast2-libyui >= 2.17.14 Requires: yast2_theme >= 2.16.1 Provides: yast2-qt:/usr/lib/YaST2/plugin/libpy2qt_pkg.so.2 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org