Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41461 - in /branches/tmp/sh/mod-ui/ncurses/src: NCComboBox.cc NCPopupList.cc NCPopupMenu.h
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 11:46:14 -0000
  • Message-id: <20071018114614.CAF112663E@xxxxxxxxxxxxxxxx>
Author: gs
Date: Thu Oct 18 13:46:14 2007
New Revision: 41461

URL: http://svn.opensuse.org/viewcvs/yast?rev=41461&view=rev
Log:
remove old code

Modified:
    branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc
    branches/tmp/sh/mod-ui/ncurses/src/NCPopupList.cc
    branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.h

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc?rev=41461&r1=41460&r2=41461&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc Thu Oct 18 13:46:14 2007
@@ -608,6 +608,7 @@
   if (!deflist.empty()) {
     wpos        at( ScreenPos() + wpos( win->height(), -1 ) );
     NCPopupList * dialog = new NCPopupList( at, "", deflist, index );
+    YUI_CHECK_NEW( dialog );
     int         idx = dialog->post();
     if ( idx != -1 )
       setCurrentItem( idx );

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupList.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPopupList.cc?rev=41461&r1=41460&r2=41461&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPopupList.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPopupList.cc Thu Oct 18 13:46:14 2007
@@ -36,9 +36,6 @@
                          int index )
     : NCPopupTable( at )
 {
-    NCMIL << "CurrentDialog: " << dynamic_cast<NCDialog *>(currentDialog()) << endl;
-    NCMIL << "CurrentDialog: " << dynamic_cast<NCDialog *>(currentDialog()) << endl;
-
     createEntries( deflist, index);
 }
 

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.h?rev=41461&r1=41460&r2=41461&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.h Thu Oct 18 13:46:14 2007
@@ -50,10 +50,9 @@
   public:
 
     NCPopupMenu( const wpos at, YItemIterator begin, YItemIterator end );
+
     virtual ~NCPopupMenu();
-//    virtual void itemAdded( const YCPString & string,
-//                         int index,
-//                         bool selected );
+
     YMenuItem * selectedItem() { return _selectedItem; }
     void setSelectedItem ( YMenuItem * item ) { _selectedItem = item; }
 };

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages