Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41460 - /branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 11:45:06 -0000
  • Message-id: <20071018114506.990732663B@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages