Author: gs Date: Thu Oct 18 13:45:06 2007 New Revision: 41460 URL: http://svn.opensuse.org/viewcvs/yast?rev=41460&view=rev Log: addItem() Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc?rev=41460&r1=41459&r2=41460&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc Thu Oct 18 13:45:06 2007 @@ -42,7 +42,8 @@ YUI_CHECK_PTR( item ); row[0] = item->label(); row[1] = item->hasChildren() ? "..." : ""; - /*addItem( (*entry)->getId(), row );*/ + YItem *tableItem = new YTableItem( row[0], row[1] ); + addItem( tableItem ); } stripHotkeys(); } @@ -121,8 +122,3 @@ } return again; } - -//void itemAdded(const YCPString & string, int index, bool selected) -//{ -// return; -//} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org