Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39904 - /trunk/ncurses/src/pkg/NCPackageSelector.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Thu, 02 Aug 2007 13:09:16 -0000
  • Message-id: <20070802130916.DFFA6B58D1@xxxxxxxxxxxxxxxx>
Author: gs
Date: Thu Aug  2 15:09:16 2007
New Revision: 39904

URL: http://svn.opensuse.org/viewcvs/yast?rev=39904&view=rev
Log:
show Filter: <product summary> after filling the repository list

Modified:
    trunk/ncurses/src/pkg/NCPackageSelector.cc

Modified: trunk/ncurses/src/pkg/NCPackageSelector.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/pkg/NCPackageSelector.cc?rev=39904&r1=39903&r2=39904&view=diff
==============================================================================
--- trunk/ncurses/src/pkg/NCPackageSelector.cc (original)
+++ trunk/ncurses/src/pkg/NCPackageSelector.cc Thu Aug  2 15:09:16 2007
@@ -1227,6 +1227,17 @@
     //and show the whole stuff to the user
     pkgList->drawList();
 
+    YWidget * filterLabel = y2ui->widgetWithId( NCPkgNames::Filter(), true );
+    
+    if ( repoPopup && filterLabel )
+    {
+       ZyppProduct product = repoPopup->findProductForRepo( repo );
+       if ( product )
+       {
+           static_cast<NCLabel *>(filterLabel)->setLabel( product->summary() ); 
+       }
+    }
+    
     return true;
 
 }

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

< Previous Next >
This Thread
  • No further messages