Bugzilla – Bug 419159
sax2: YaST2 keyboard without display testing
Last modified: 2008-08-27 02:39:26 UTC
I think there is not need to test the display configuration, if the user changes the keyboard layout only. To reproduce: Click "Keyboard Layout" in the YaST CC (gtk). SaX2 starts with the Keyboard Properties dialog. Change "Layout" from English to German. Click "OK". Now a message pop-up wants you to test the configuration which is superfluous, I'd say.
Makes sense to me. Marcus, how to implement this?
you need to make the last message more "intelligent". Normally sax2 is called as complete application but it also can be called with only a specific dialog. In case of a specific dialog it might be better to have a specific last message too. 1) Take a look at api/frame.cpp void SCCFrame::slotFinish ( void ) { ... } this is the code which displays the message when ok is clicked 2) the variable mRequestedDialog contains the dialog if one was requested. You can adapt the slotFinish function to handle the mRequestedDialog information and display different messages here Be aware that you need to introduce new texts and this also requires a new pot file in the localization repository
Thanks!
This issue becomes obsolete with the proposal in Bug #389072, comment #9. *** This bug has been marked as a duplicate of bug 389072 ***