Hello community, here is the log from the commit of package libyui-qt for openSUSE:Factory checked in at 2014-05-13 20:45:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old) and /work/SRC/openSUSE:Factory/.libyui-qt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-qt" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes 2014-05-06 13:40:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2014-05-13 20:45:44.000000000 +0200 @@ -1,0 +2,7 @@ +Wed May 7 07:57:07 UTC 2014 - [email protected] + +- avoid hiding "Show Relnotes" button when new Wizard window is + created (bnc#876668) +- 2.46.8 + +------------------------------------------------------------------- Old: ---- libyui-qt-2.46.7.tar.bz2 New: ---- libyui-qt-2.46.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-doc.spec ++++++ --- /var/tmp/diff_new_pack.az5EZ5/_old 2014-05-13 20:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.az5EZ5/_new 2014-05-13 20:45:45.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt-doc -Version: 2.46.7 +Version: 2.46.8 Release: 0 Source: libyui-qt-%{version}.tar.bz2 ++++++ libyui-qt.spec ++++++ --- /var/tmp/diff_new_pack.az5EZ5/_old 2014-05-13 20:45:45.000000000 +0200 +++ /var/tmp/diff_new_pack.az5EZ5/_new 2014-05-13 20:45:45.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt -Version: 2.46.7 +Version: 2.46.8 Release: 0 Source: libyui-qt-%{version}.tar.bz2 ++++++ libyui-qt-2.46.7.tar.bz2 -> libyui-qt-2.46.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.7/ChangeLog new/libyui-qt-2.46.8/ChangeLog --- old/libyui-qt-2.46.7/ChangeLog 2014-04-18 13:40:41.000000000 +0200 +++ new/libyui-qt-2.46.8/ChangeLog 2014-05-12 14:30:44.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed May 7 07:57:07 UTC 2014 - [email protected] + +- avoid hiding "Show Relnotes" button when new Wizard window is + created (bnc#876668) +- 2.46.8 + +------------------------------------------------------------------- Thu Apr 17 07:13:17 UTC 2014 - [email protected] - added title bar with product logo (bnc#868722) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.7/VERSION.cmake new/libyui-qt-2.46.8/VERSION.cmake --- old/libyui-qt-2.46.7/VERSION.cmake 2014-04-18 13:40:41.000000000 +0200 +++ new/libyui-qt-2.46.8/VERSION.cmake 2014-05-12 14:30:44.000000000 +0200 @@ -1,6 +1,6 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "46") -SET(VERSION_PATCH "7") +SET(VERSION_PATCH "8") SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.7/src/YQWizard.cc new/libyui-qt-2.46.8/src/YQWizard.cc --- old/libyui-qt-2.46.7/src/YQWizard.cc 2014-04-18 13:40:41.000000000 +0200 +++ new/libyui-qt-2.46.8/src/YQWizard.cc 2014-05-12 14:30:44.000000000 +0200 @@ -81,6 +81,8 @@ #define USE_ICON_ON_HELP_BUTTON 0 YQWizard *YQWizard::main_wizard = 0; +std::string YQWizard::_releaseNotesButtonId = ""; +std::string YQWizard::_releaseNotesButtonLabel = ""; YQWizard::YQWizard( YWidget * parent, const std::string & backButtonLabel, @@ -870,7 +872,15 @@ connect( _releaseNotesButton, &pclass(_releaseNotesButton)::clicked, this, &pclass(this)::showReleaseNotes ); - _releaseNotesButton->hide(); // hidden until showReleaseNotesButton() is called + + if (_releaseNotesButtonId == "") + { + _releaseNotesButton->hide(); // hidden until showReleaseNotesButton() is called + } + else + { + showReleaseNotesButton( _releaseNotesButtonLabel, _releaseNotesButtonId ); + } hbox->addStretch( 10 ); @@ -1284,6 +1294,7 @@ // no way to check the shortcut, so strip it _releaseNotesButton->setText( fromUTF8( YShortcut::cleanShortcutString( label ) ) ); _releaseNotesButtonId = id; + _releaseNotesButtonLabel = label; _releaseNotesButton->show(); } @@ -1292,7 +1303,11 @@ void YQWizard::hideReleaseNotesButton() { if ( _releaseNotesButton && !_releaseNotesButton->isHidden() ) + { _releaseNotesButton->hide(); + _releaseNotesButtonId = ""; + _releaseNotesButtonLabel = ""; + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.7/src/YQWizard.h new/libyui-qt-2.46.8/src/YQWizard.h --- old/libyui-qt-2.46.7/src/YQWizard.h 2014-04-18 13:40:41.000000000 +0200 +++ new/libyui-qt-2.46.8/src/YQWizard.h 2014-05-12 14:30:44.000000000 +0200 @@ -574,7 +574,8 @@ QStackedWidget * _sideBar; QWidget * _stepsPanel; QPushButton * _releaseNotesButton; - std::string _releaseNotesButtonId; + static std::string _releaseNotesButtonId; + static std::string _releaseNotesButtonLabel; QPushButton * _helpButton; QPushButton * _stepsButton; QPushButton * _treeButton; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
