Author: gs Date: Sat Nov 10 09:12:56 2007 New Revision: 41956 URL: http://svn.opensuse.org/viewcvs/yast?rev=41956&view=rev Log: create YMenuItem for hyper links Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc?rev=41956&r1=41955&r2=41956&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc Sat Nov 10 09:12:56 2007 @@ -23,6 +23,8 @@ #include "stringutil.h" #include <sstream> +#include "YMenuItem.h" + #include "YWidgetID.h" #if 0 @@ -315,9 +317,7 @@ string ycpstr; NCstring::RecodeFromWchar( anchors[armed].target, "UTF-8", &ycpstr ); NCMIL << "LINK: " << ycpstr << endl; - YStringWidgetID * selectionID = new YStringWidgetID( ycpstr ); - //ret.selection = YCPString( ycpstr ); - //ret.selection = selectionID; + ret.selection = new YMenuItem( ycpstr ); } break; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org