Hello community, here is the log from the commit of package libyui-ncurses for openSUSE:Factory checked in at 2016-11-23 13:35:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-ncurses (Old) and /work/SRC/openSUSE:Factory/.libyui-ncurses.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-ncurses" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-ncurses/libyui-ncurses.changes 2016-10-22 13:05:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes 2016-11-23 13:35:55.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Nov 16 12:47:36 UTC 2016 - [email protected] + +- Add hotkey for help about advanced hotkeys (bsc#1010039) +- 2.48.0 + +------------------------------------------------------------------- Old: ---- libyui-ncurses-2.47.7.tar.bz2 New: ---- libyui-ncurses-2.48.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-ncurses-doc.spec ++++++ --- /var/tmp/diff_new_pack.yUuwnX/_old 2016-11-23 13:35:56.000000000 +0100 +++ /var/tmp/diff_new_pack.yUuwnX/_new 2016-11-23 13:35:56.000000000 +0100 @@ -20,7 +20,7 @@ %define so_version 7 Name: %{parent}-doc -Version: 2.47.7 +Version: 2.48.0 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.yUuwnX/_old 2016-11-23 13:35:56.000000000 +0100 +++ /var/tmp/diff_new_pack.yUuwnX/_new 2016-11-23 13:35:56.000000000 +0100 @@ -17,7 +17,7 @@ Name: libyui-ncurses -Version: 2.47.7 +Version: 2.48.0 Release: 0 Source: %{name}-%{version}.tar.bz2 ++++++ libyui-ncurses-2.47.7.tar.bz2 -> libyui-ncurses-2.48.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.7/VERSION.cmake new/libyui-ncurses-2.48.0/VERSION.cmake --- old/libyui-ncurses-2.47.7/VERSION.cmake 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/VERSION.cmake 2016-11-21 15:59:27.000000000 +0100 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "2" ) -SET( VERSION_MINOR "47" ) -SET( VERSION_PATCH "7" ) +SET( VERSION_MINOR "48" ) +SET( VERSION_PATCH "0" ) 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-ncurses-2.47.7/package/libyui-ncurses-doc.spec new/libyui-ncurses-2.48.0/package/libyui-ncurses-doc.spec --- old/libyui-ncurses-2.47.7/package/libyui-ncurses-doc.spec 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/package/libyui-ncurses-doc.spec 2016-11-21 15:59:27.000000000 +0100 @@ -19,7 +19,7 @@ %define so_version 7 Name: %{parent}-doc -Version: 2.47.7 +Version: 2.48.0 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.7/package/libyui-ncurses.changes new/libyui-ncurses-2.48.0/package/libyui-ncurses.changes --- old/libyui-ncurses-2.47.7/package/libyui-ncurses.changes 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/package/libyui-ncurses.changes 2016-11-21 15:59:27.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 16 12:47:36 UTC 2016 - [email protected] + +- Add hotkey for help about advanced hotkeys (bsc#1010039) +- 2.48.0 + +------------------------------------------------------------------- Fri Oct 14 10:30:15 CEST 2016 - [email protected] - Fix pre-selecting a tree item when adding it, in ncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.7/package/libyui-ncurses.spec new/libyui-ncurses-2.48.0/package/libyui-ncurses.spec --- old/libyui-ncurses-2.47.7/package/libyui-ncurses.spec 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/package/libyui-ncurses.spec 2016-11-21 15:59:27.000000000 +0100 @@ -17,7 +17,7 @@ Name: libyui-ncurses -Version: 2.47.7 +Version: 2.48.0 Release: 0 Source: %{name}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.7/src/NCDialog.cc new/libyui-ncurses-2.48.0/src/NCDialog.cc --- old/libyui-ncurses-2.47.7/src/NCDialog.cc 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/src/NCDialog.cc 2016-11-21 15:59:27.000000000 +0100 @@ -31,6 +31,7 @@ #include <yui/YShortcut.h> #include "NCtoY2Event.h" #include <yui/YDialogSpy.h> +#include <yui/YDialog.h> #include "ncursesw.h" @@ -1083,7 +1084,11 @@ break; - case KEY_F( 16 ): + case KEY_F( 13 ): // = Shift-F1 on e.g. a linux console + showHotkeyHelp(); + break; + + case KEY_F( 16 ): // = Shift-F4 on e.g. a linux console const_cast<NCstyle&>( NCurses::style() ).nextStyle(); NCurses::Redraw(); @@ -1097,6 +1102,10 @@ switch ( hch ) { + case KEY_F( 1 ): + showHotkeyHelp(); + break; + case 'D': yuiMilestone() << "CTRL('D')-'D' DUMP+++++++++++++++++++++" << std::endl; NCurses::ScreenShot(); @@ -1335,3 +1344,18 @@ setInitialSize(); } } + +void NCDialog::showHotkeyHelp() +{ + YDialog::showText( + _( "<h1>Advanced Hotkeys:</h1>" + "<p><b>Shift-F1</b> Show a list of advanced hotkeys.</p>" + "<p><b>Shift-F4</b> Change color schema.</p>" + "<p><b>Ctrl-\\</b> Quit the application.</p>" + "<p><b>Ctrl-L</b> Refresh screen.</p>" + "<p><b>Ctrl-D F1</b> Show a list of advanced hotkeys.</p>" + "<p><b>Ctrl-D Shift-D</b> Dump dialog to the log file as a screen shot.</p>" + "<p><b>Ctrl-D Shift-Y</b> Open YDialogSpy to see the widget hierarchy.</p>" + "<p>Depending on your desktop environment some of these key combinations <br/>might not work.</p>" ), + true ); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.47.7/src/NCDialog.h new/libyui-ncurses-2.48.0/src/NCDialog.h --- old/libyui-ncurses-2.47.7/src/NCDialog.h 2016-10-20 15:15:08.000000000 +0200 +++ new/libyui-ncurses-2.48.0/src/NCDialog.h 2016-11-21 15:59:27.000000000 +0100 @@ -215,6 +215,7 @@ bool getInvisible(); bool getVisible(); void resizeEvent(); + void showHotkeyHelp(); };
