Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2014-05-13 20:46:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2014-05-10 22:57:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-05-13 20:46:30.000000000 +0200 @@ -1,0 +2,13 @@ +Tue May 13 12:03:12 CEST 2014 - aschn...@suse.de + +- added error handing for viewing log files (bnc#876895) +- 3.1.63 + +------------------------------------------------------------------- +Mon May 12 12:38:40 UTC 2014 - jsr...@suse.cz + +- avoid hiding release notes button when new wizard window is + opened (bnc#876668) +- 3.1.62 + +------------------------------------------------------------------- Old: ---- yast2-3.1.61.tar.bz2 New: ---- yast2-3.1.63.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.kVHxx9/_old 2014-05-13 20:46:30.000000000 +0200 +++ /var/tmp/diff_new_pack.kVHxx9/_new 2014-05-13 20:46:30.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.61 +Version: 3.1.63 Release: 0 Url: https://github.com/yast/yast-yast2 ++++++ yast2-3.1.61.tar.bz2 -> yast2-3.1.63.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.61/library/system/src/clients/view_anymsg.rb new/yast2-3.1.63/library/system/src/clients/view_anymsg.rb --- old/yast2-3.1.61/library/system/src/clients/view_anymsg.rb 2014-05-09 11:02:42.000000000 +0200 +++ new/yast2-3.1.63/library/system/src/clients/view_anymsg.rb 2014-05-13 12:52:44.000000000 +0200 @@ -171,23 +171,25 @@ ) - @file_contents = "" @go_on = true # wait until user clicks "OK" # check if ComboBox selected and change view accordingly while @go_on - # read file contents - @file_contents = Convert.to_string( - SCR.Read(path(".target.string"), @filename) - ) - # Fill the LogView with file contents - UI.ChangeWidget(Id(:log), :Value, @file_contents) + # read file content + file_content = SCR.Read(path(".target.string"), @filename) - @heading = Builtins.sformat(_("System Log (%1)"), @filename) - UI.ChangeWidget(Id(:log), :Label, @heading) + if file_content == nil + file_content = _("File not found.") + end + + # Fill the LogView with file content + UI.ChangeWidget(Id(:log), :Value, file_content) + + heading = Builtins.sformat(_("System Log (%1)"), @filename) + UI.ChangeWidget(Id(:log), :Label, heading) # wait for user input diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.61/library/wizard/src/modules/Wizard.rb new/yast2-3.1.63/library/wizard/src/modules/Wizard.rb --- old/yast2-3.1.61/library/wizard/src/modules/Wizard.rb 2014-05-09 11:02:42.000000000 +0200 +++ new/yast2-3.1.63/library/wizard/src/modules/Wizard.rb 2014-05-13 12:52:44.000000000 +0200 @@ -61,6 +61,11 @@ # Screenshot names overriden by nested SetScreenShotName calls @screenshot_name_stack = [] + + # Handling of relnotes button when creating a wizard over existing one + # Cannot be handled by libyui for NCurses + @relnotes_button_label = "" + @relnotes_button_id = ""; end def haveFancyUI @@ -429,6 +434,9 @@ def OpenDialog(dialog) dialog = deep_copy(dialog) UI.OpenDialog(Opt(:wizardDialog), dialog) + if ! @relnotes_button_id.empty? + ShowReleaseNotesButton(@relnotes_button_label, @relnotes_button_id) + end nil end @@ -1430,6 +1438,8 @@ # use dedicated ReplacePoint or reuse the back button if HasWidgetWizard() == false || UI.WizardCommand(term(:ShowReleaseNotesButton, label, id)) == false + @relnotes_button_label = label + @relnotes_button_id = id if UI.WidgetExists(Id(:relnotes_rp)) UI.ReplaceWidget(Id(:relnotes_rp), PushButton(Id(id), Opt(:relNotesButton), label)) # Reuse Back button @@ -1454,6 +1464,8 @@ # reuse use dedicated ReplacePoint or the back button if HasWidgetWizard() == false || UI.WizardCommand(term(:HideReleaseNotesButton)) == false + @relnotes_button_label = "" + @relnotes_button_id = "" if UI.WidgetExists(Id(:relnotes_rp)) UI.ReplaceWidget(Id(:relnotes_rp), Empty()) elsif UI.WidgetExists(Id(:back_rep)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.61/package/yast2.changes new/yast2-3.1.63/package/yast2.changes --- old/yast2-3.1.61/package/yast2.changes 2014-05-09 11:02:42.000000000 +0200 +++ new/yast2-3.1.63/package/yast2.changes 2014-05-13 12:52:44.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue May 13 12:03:12 CEST 2014 - aschn...@suse.de + +- added error handing for viewing log files (bnc#876895) +- 3.1.63 + +------------------------------------------------------------------- +Mon May 12 12:38:40 UTC 2014 - jsr...@suse.cz + +- avoid hiding release notes button when new wizard window is + opened (bnc#876668) +- 3.1.62 + +------------------------------------------------------------------- Fri May 9 07:15:25 UTC 2014 - lsle...@suse.cz - Product.rb - fixed base product detection (do not check the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.61/package/yast2.spec new/yast2-3.1.63/package/yast2.spec --- old/yast2-3.1.61/package/yast2.spec 2014-05-09 11:02:42.000000000 +0200 +++ new/yast2-3.1.63/package/yast2.spec 2014-05-13 12:52:44.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.61 +Version: 3.1.63 Release: 0 URL: https://github.com/yast/yast-yast2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org