Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54525 - in /trunk/qt-pkg: package/yast2-qt-pkg.changes src/YQPkgVersionsView.cc src/YQPkgVersionsView.h
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 Jan 2009 17:06:51 -0000
  • Message-id: <E1LLKot-0003aM-7z@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Fri Jan 9 18:06:50 2009
New Revision: 54525

URL: http://svn.opensuse.org/viewcvs/yast?rev=54525&view=rev
Log:
Fixed bnc #462778: Community repos show up as repo_1, repo_2, etc. in Versions
view

Modified:
trunk/qt-pkg/package/yast2-qt-pkg.changes
trunk/qt-pkg/src/YQPkgVersionsView.cc
trunk/qt-pkg/src/YQPkgVersionsView.h

Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=54525&r1=54524&r2=54525&view=diff
==============================================================================
--- trunk/qt-pkg/package/yast2-qt-pkg.changes (original)
+++ trunk/qt-pkg/package/yast2-qt-pkg.changes Fri Jan 9 18:06:50 2009
@@ -1,8 +1,8 @@
-------------------------------------------------------------------
-Fri Jan 9 13:15:28 CET 2009 - lslezak@xxxxxxx
+Fri Jan 9 17:59:43 CET 2009 - sh@xxxxxxx

-- Display repository name instead of alias in version tab
- (bnc#462778)
+- Fixed bnc #462778: Community repos show up as repo_1, repo_2, etc.
+ in Versions view

-------------------------------------------------------------------
Fri Jan 2 15:42:19 CET 2009 - tgoettlicher@xxxxxxx

Modified: trunk/qt-pkg/src/YQPkgVersionsView.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgVersionsView.cc?rev=54525&r1=54524&r2=54525&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgVersionsView.cc (original)
+++ trunk/qt-pkg/src/YQPkgVersionsView.cc Fri Jan 9 18:06:50 2009
@@ -281,15 +281,20 @@
}


-YQPkgVersion::YQPkgVersion( YQPkgVersionsView * pkgVersionList,
- ZyppSel selectable,
- ZyppObj zyppObj,
- bool enabled )
- : QRadioButton( pkgVersionList )
- , _pkgVersionList( pkgVersionList )
+YQPkgVersion::YQPkgVersion( QWidget * parent,
+ ZyppSel selectable,
+ ZyppObj zyppObj,
+ bool enabled )
+ : QRadioButton( parent )
, _selectable( selectable )
, _zyppObj( zyppObj )
{
+ // Translators: %1 is a package version, %2 the package architecture,
+ // %3 describes the repository where it comes from. Examples:
+ // 2.5.23-i568 from Packman
+ // 3.17.4-i386 from openSUSE-11.1 update repository
+ // ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ // %1 %2 %3
setText( _( "%1-%2 from %3" )
.arg( zyppObj->edition().asString().c_str() )
.arg( zyppObj->arch().asString().c_str() )

Modified: trunk/qt-pkg/src/YQPkgVersionsView.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgVersionsView.h?rev=54525&r1=54524&r2=54525&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgVersionsView.h (original)
+++ trunk/qt-pkg/src/YQPkgVersionsView.h Fri Jan 9 18:06:50 2009
@@ -125,10 +125,10 @@
* Constructor. Creates a YQPkgVersion item that corresponds to the package
* manager object that 'pkg' refers to.
**/
- YQPkgVersion( YQPkgVersionsView * pkgVersionList,
- ZyppSel selectable,
- ZyppObj zyppObj,
- bool enabled = true );
+ YQPkgVersion( QWidget * parent,
+ ZyppSel selectable,
+ ZyppObj zyppObj,
+ bool enabled = true );

/**
* Destructor
@@ -158,7 +158,6 @@

// Data members

- YQPkgVersionsView * _pkgVersionList;
ZyppSel _selectable;
ZyppObj _zyppObj;
};

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

< Previous Next >
This Thread
  • No further messages