Author: sh-sh-sh Date: Wed Oct 8 12:02:47 2008 New Revision: 51964 URL: http://svn.opensuse.org/viewcvs/yast?rev=51964&view=rev Log: Export "y2debug" via UI::GetDisplayInfo() Modified: trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes trunk/ycp-ui-bindings/src/YCP_UI.cc Modified: trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes?rev=51964&r1=51963&r2=51964&view=diff ============================================================================== --- trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes (original) +++ trunk/ycp-ui-bindings/package/yast2-ycp-ui-bindings.changes Wed Oct 8 12:02:47 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Oct 8 12:02:15 CEST 2008 - sh@suse.de + +- Export "y2debug" via UI::GetDisplayInfo() + +------------------------------------------------------------------- Tue Sep 30 16:27:20 CEST 2008 - tgoettlicher@suse.de - Added example: Wizard-SetDesktopTitle.ycp Modified: trunk/ycp-ui-bindings/src/YCP_UI.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/src/YCP_UI.cc?rev=51964&r1=51963&r2=51964&view=diff ============================================================================== --- trunk/ycp-ui-bindings/src/YCP_UI.cc (original) +++ trunk/ycp-ui-bindings/src/YCP_UI.cc Wed Oct 8 12:02:47 2008 @@ -1181,44 +1181,6 @@ * @description * Gets information about the current display and the UI's capabilities. * - * Example in Qt: - * <code> - * GetDisplayInfo() -> $[ - * "Colors":65536, - * "DefaultHeight":735, - * "DefaultWidth":1176, - * "Depth":16, - * "HasAnimationSupport":true, - * "HasFullUtf8Support":true, - * "HasIconSupport":false, - * "HasImageSupport":true, - * "Height":1050, - * "LeftHandedMouse":false, - * "RichTextSupportsTable":true, - * "TextMode":false, - * "Width":1680 - * ] - * </code> - * - * Example in ncurses: - * <code> - * GetDisplayInfo() -> $[ - * "Colors":8, - * "DefaultHeight":54, - * "DefaultWidth":151, - * "Depth":-1, - * "HasAnimationSupport":false, - * "HasFullUtf8Support":true, - * "HasIconSupport":false, - * "HasImageSupport":false, - * "Height":54, - * "LeftHandedMouse":false, - * "RichTextSupportsTable":false, - * "TextMode":true, - * "Width":151 - * ] - * </code> - * * Function output might differ according to the system where called. * * @return map <string any> @@ -1242,6 +1204,7 @@ info_map->add( YCPString( YUICap_HasFullUtf8Support ), YCPBoolean( app->hasFullUtf8Support() ) ); info_map->add( YCPString( YUICap_RichTextSupportsTable ), YCPBoolean( app->richTextSupportsTable() ) ); info_map->add( YCPString( YUICap_LeftHandedMouse ), YCPBoolean( app->leftHandedMouse() ) ); + info_map->add( YCPString( "y2debug" ), YCPBoolean( YUILog::debugLoggingEnabled() ) ); return info_map; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org