Hello community, here is the log from the commit of package yast2-ycp-ui-bindings checked in at Fri Sep 12 02:01:47 CEST 2008. -------- --- yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes 2008-09-04 15:38:06.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes 2008-09-11 15:52:40.412640000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 11 15:51:55 CEST 2008 - sh@suse.de + +- Require latest libyui +- V 2.17.5 + +------------------------------------------------------------------- Old: ---- yast2-ycp-ui-bindings-2.17.4.tar.bz2 New: ---- yast2-ycp-ui-bindings-2.17.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ycp-ui-bindings.spec ++++++ --- /var/tmp/diff_new_pack.m22931/_old 2008-09-12 02:00:53.000000000 +0200 +++ /var/tmp/diff_new_pack.m22931/_new 2008-09-12 02:00:53.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ycp-ui-bindings (Version 2.17.4) +# spec file for package yast2-ycp-ui-bindings (Version 2.17.5) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,12 @@ Name: yast2-ycp-ui-bindings -Version: 2.17.4 +Version: 2.17.5 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ycp-ui-bindings-2.17.4.tar.bz2 +Source0: yast2-ycp-ui-bindings-2.17.5.tar.bz2 Prefix: /usr BuildRequires: gcc-c++ BuildRequires: yast2-devtools @@ -37,8 +37,8 @@ Conflicts: yast2-core < 2.16.38 # libycp includes crypto built-ins BuildRequires: libxcrypt-devel -Requires: yast2-libyui >= 2.17.7 -BuildRequires: yast2-libyui-devel >= 2.17.7 +Requires: yast2-libyui >= 2.17.9 +BuildRequires: yast2-libyui-devel >= 2.17.9 # libyui ImplPtr BuildRequires: boost-devel Summary: YaST2 - YCP Bindings for the YaST2 User Interface Engine @@ -84,7 +84,7 @@ Matthias Kettner %prep -%setup -n yast2-ycp-ui-bindings-2.17.4 +%setup -n yast2-ycp-ui-bindings-2.17.5 %build %{prefix}/bin/y2tool y2autoconf @@ -123,6 +123,9 @@ %{_libdir}/pkgconfig/yast2-ycp-ui-bindings.pc %doc %{prefix}/share/doc/packages/yast2-ycp-ui-bindings %changelog +* Thu Sep 11 2008 sh@suse.de +- Require latest libyui +- V 2.17.5 * Thu Sep 04 2008 sh@suse.de - Added `opt(`relaxSanityCheck) for `ButtonBox (bnc #422612) - V 2.17.4 ++++++ yast2-ycp-ui-bindings-2.17.4.tar.bz2 -> yast2-ycp-ui-bindings-2.17.5.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ycp-ui-bindings-2.17.4/examples/bullshit.ycp new/yast2-ycp-ui-bindings-2.17.5/examples/bullshit.ycp --- old/yast2-ycp-ui-bindings-2.17.4/examples/bullshit.ycp 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-ycp-ui-bindings-2.17.5/examples/bullshit.ycp 2008-09-08 15:42:28.000000000 +0200 @@ -0,0 +1,10 @@ +{ + UI::OpenDialog( + `VBox( + `Label(`bla, "Hello, World!"), + `PushButton(`opt(`default), "&OK") + ) + ); + UI::UserInput(); + UI::CloseDialog(); +} diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ycp-ui-bindings-2.17.4/examples/Events.ycp new/yast2-ycp-ui-bindings-2.17.5/examples/Events.ycp --- old/yast2-ycp-ui-bindings-2.17.4/examples/Events.ycp 2008-07-16 14:00:17.000000000 +0200 +++ new/yast2-ycp-ui-bindings-2.17.5/examples/Events.ycp 2008-09-09 16:02:23.000000000 +0200 @@ -14,7 +14,8 @@ * @param event The event map to format * @return html HTML code for the formatted event **/ - define string formatEvent( map<string, any> event ) ``{ + string formatEvent( map<string, any> event ) + { string html = "<h3>Event:</h3><p>"; y2milestone ("formatEvent(%1)", event); foreach (string key, any value, event, ``{ @@ -27,7 +28,7 @@ }; - integer timeout = 20; // seconds + integer timeout = 7; // seconds string howto = sformat( "Use the "Close" button to quit. " + "All other widgets will only show the event.\n" + "After %1 seconds of inactivity a timeout event will occur.", diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ycp-ui-bindings-2.17.4/src/YCPDialogParser.cc new/yast2-ycp-ui-bindings-2.17.5/src/YCPDialogParser.cc --- old/yast2-ycp-ui-bindings-2.17.4/src/YCPDialogParser.cc 2008-09-04 15:27:20.000000000 +0200 +++ new/yast2-ycp-ui-bindings-2.17.5/src/YCPDialogParser.cc 2008-09-08 15:53:41.000000000 +0200 @@ -995,6 +995,7 @@ * @class ButtonBox * @arg term button1 the first button * @optarg term button2 the second button (etc.) + * @option relaxSanityCheck less stringent requirements for button roles * @usage `ButtonBox(`PushButton( `id( `ok ), "OK" ), `PushButton( `id( `cancel ), "Cancel" ) ) * * @examples ButtonBox1.ycp @@ -1053,8 +1054,14 @@ * Similarly, there are `opt(`cancelButton), `opt(`applyButton), * `opt(`helpButton). * - * A ButtonBox with more than one button is required to have one okButton and - * one cancelButton. + * By default, a ButtonBox with more than one button is required to have one + * okButton and one cancelButton. + * `opt(`relaxSanityCheck) relaxes those requirements: It does not check for + * one okButton and one cancelButton. This should be used very sparingly -- use + * your common sense. One Example where this is legitimate is a pop-up dialog + * with [OK] [Details] for error messages that can be explained in more + * detail. Most dialogs with more than just an [OK] or a [Close] button should + * have a [Cancel] button. * * ButtonBox widgets can have no other child widgets than PushButton widgets. * ButtonBox widgets are horizontally stretchable and vertically diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ycp-ui-bindings-2.17.4/src/YCPErrorDialog.cc new/yast2-ycp-ui-bindings-2.17.5/src/YCPErrorDialog.cc --- old/yast2-ycp-ui-bindings-2.17.4/src/YCPErrorDialog.cc 2008-05-13 13:28:04.000000000 +0200 +++ new/yast2-ycp-ui-bindings-2.17.5/src/YCPErrorDialog.cc 2008-09-08 15:46:02.000000000 +0200 @@ -30,6 +30,7 @@ #include "YDialog.h" #include "YLabel.h" #include "YPushButton.h" +#include "YButtonBox.h" #include "YLayoutBox.h" using std::string; @@ -46,9 +47,9 @@ fac->createHeading( vbox, headingText ); fac->createLabel( vbox, exception.asString() ); fac->createLabel( vbox, "Check the log file!" ); - YLayoutBox * buttonBox = fac->createHBox( vbox ); - fac->createHStretch( buttonBox ); - fac->createPushButton( buttonBox, "&Close" ); + YButtonBox * buttonBox = fac->createButtonBox( vbox ); + YPushButton * closeButton = fac->createPushButton( buttonBox, "&Close" ); + closeButton->setRole( YOKButton ); dialog->open(); dialog->waitForEvent(); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ycp-ui-bindings-2.17.4/VERSION new/yast2-ycp-ui-bindings-2.17.5/VERSION --- old/yast2-ycp-ui-bindings-2.17.4/VERSION 2008-09-04 15:33:19.000000000 +0200 +++ new/yast2-ycp-ui-bindings-2.17.5/VERSION 2008-09-11 15:51:39.000000000 +0200 @@ -1 +1 @@ -2.17.4 +2.17.5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org