[yast-commit] r48497 - in /trunk/ncurses: package/yast2-ncurses.changes src/NCPopupInfo.h
Author: sh-sh-sh Date: Tue Jun 24 11:43:37 2008 New Revision: 48497 URL: http://svn.opensuse.org/viewcvs/yast?rev=48497&view=rev Log: Applied bubli's patch for bnc #397393: OK button default focus Modified: trunk/ncurses/package/yast2-ncurses.changes trunk/ncurses/src/NCPopupInfo.h Modified: trunk/ncurses/package/yast2-ncurses.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/package/yast2-ncurses.changes?rev=48497&r1=48496&r2=48497&view=diff ============================================================================== --- trunk/ncurses/package/yast2-ncurses.changes (original) +++ trunk/ncurses/package/yast2-ncurses.changes Tue Jun 24 11:43:37 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Jun 24 11:42:38 CEST 2008 - sh@suse.de + +- Applied bubli's patch for bnc #397393: OK button default focus + +------------------------------------------------------------------- Tue Jun 10 15:58:00 CEST 2008 - sh@suse.de - Reformatted code according to mandatory YaST2 coding style Modified: trunk/ncurses/src/NCPopupInfo.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPopupInfo.h?rev=48497&r1=48496&r2=48497&view=diff ============================================================================== --- trunk/ncurses/src/NCPopupInfo.h (original) +++ trunk/ncurses/src/NCPopupInfo.h Tue Jun 24 11:43:37 2008 @@ -89,6 +89,11 @@ bool isVisible() { return visible; } void setPreferredSize( int horiz, int vert ) { hDim = horiz; vDim = vert; } + + void focusOkButton() { okButton->setKeyboardFocus(); } + + void focusCancelButton() { cancelButton->setKeyboardFocus(); } + }; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org