Author: dmacvicar Date: Tue Apr 8 17:41:38 2008 New Revision: 46250 URL: http://svn.opensuse.org/viewcvs/yast?rev=46250&view=rev Log: - remove the name/url column, add icon Modified: trunk/qt-pkg/src/YQPkgRepoList.cc Modified: trunk/qt-pkg/src/YQPkgRepoList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgRepoList.cc?rev=46250&r1=46249&r2=46250&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgRepoList.cc (original) +++ trunk/qt-pkg/src/YQPkgRepoList.cc Tue Apr 8 17:41:38 2008 @@ -50,7 +50,7 @@ // Column headers for repository list headers << _( "Name"); _nameCol = numCol++; - headers << _( "URL"); _urlCol = numCol++; + //headers << _( "URL"); _urlCol = numCol++; setHeaderLabels(headers); @@ -260,8 +260,12 @@ if ( ! repo.info().baseUrlsEmpty() ) repoUrl = *repo.info().baseUrlsBegin(); - setText( urlCol(), repoUrl.asString().c_str() ); + //setText( urlCol(), repoUrl.asString().c_str() ); + setToolTip( 0, repoUrl.asString().c_str() ); + setToolTip( 1, repoUrl.asString().c_str() ); } + + setIcon( 0, QIcon("/usr/share/icons/hicolor/48x48/apps/yast-sw_source.png") ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org