Hello community,

here is the log from the commit of package yast2-qt-pkg for openSUSE:Factory
checked in at Thu Jun 30 16:36:15 CEST 2011.



--------
--- yast2-qt-pkg/yast2-qt-pkg.changes   2011-04-27 17:06:21.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-qt-pkg/yast2-qt-pkg.changes      
2011-06-30 13:12:09.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Jun 30 13:09:17 CEST 2011 - tgoettlic...@suse.de
+
+- Fixed theme/color palette handling (bnc #637294)
+- 2.21.4
+
+-------------------------------------------------------------------
+Fri May 27 11:42:51 CEST 2011 - tgoettlic...@suse.de
+
+- Fixed typo (bnc #696514)
+- 2.21.3
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  yast2-qt-pkg-2.21.2.tar.bz2

New:
----
  yast2-qt-pkg-2.21.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-qt-pkg.spec ++++++
--- /var/tmp/diff_new_pack.YOd8gD/_old  2011-06-30 16:35:19.000000000 +0200
+++ /var/tmp/diff_new_pack.YOd8gD/_new  2011-06-30 16:35:19.000000000 +0200
@@ -18,13 +18,13 @@
 
 
 Name:           yast2-qt-pkg
-Version:        2.21.2
+Version:        2.21.4
 Release:        1
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-qt-pkg-2.21.2.tar.bz2
+Source0:        yast2-qt-pkg-2.21.4.tar.bz2
 Group:          System/YaST
-License:        GPLv2+
+License:        GPL v2 or later
 BuildRequires:  docbook-xsl-stylesheets doxygen libdrm-devel libjpeg-devel 
libxcrypt-devel
 BuildRequires:  libqt4-devel libxslt perl-XML-Writer sgml-skel 
update-desktop-files
 

++++++ yast2-qt-pkg-2.21.2.tar.bz2 -> yast2-qt-pkg-2.21.4.tar.bz2 ++++++
++++ 1714 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/VERSION.cmake new/yast2-qt-pkg-2.21.4/VERSION.cmake
--- old/yast2-qt-pkg-2.21.2/VERSION.cmake       2011-04-27 17:06:05.000000000 
+0200
+++ new/yast2-qt-pkg-2.21.4/VERSION.cmake       2011-06-30 13:11:43.000000000 
+0200
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "2")
 SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "2")
+SET(VERSION_PATCH "4")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/package/yast2-qt-pkg.changes 
new/yast2-qt-pkg-2.21.4/package/yast2-qt-pkg.changes
--- old/yast2-qt-pkg-2.21.2/package/yast2-qt-pkg.changes        2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/package/yast2-qt-pkg.changes        2011-06-30 
13:11:43.000000000 +0200
@@ -1,4 +1,16 @@
 -------------------------------------------------------------------
+Thu Jun 30 13:09:17 CEST 2011 - tgoettlic...@suse.de
+
+- Fixed theme/color palette handling (bnc #637294)
+- 2.21.4
+
+-------------------------------------------------------------------
+Fri May 27 11:42:51 CEST 2011 - tgoettlic...@suse.de
+
+- Fixed typo (bnc #696514)
+- 2.21.3
+
+-------------------------------------------------------------------
 Wed Apr 27 17:05:04 CEST 2011 - tgoettlic...@suse.de
 
 - Added translation markers for RPM fields (bnc #686502)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPackageSelectorHelp.cc 
new/yast2-qt-pkg-2.21.4/src/YQPackageSelectorHelp.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPackageSelectorHelp.cc        2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPackageSelectorHelp.cc        2011-06-30 
13:11:43.000000000 +0200
@@ -41,6 +41,7 @@
 /-*/
 
 #include <qstring.h>
+#include <qapplication.h>
 
 #define YUILogComponent "qt-pkg"
 #include "YUILog.h"
@@ -340,7 +341,9 @@
 {
     QString html = "<tr valign='top'>";
     html +=
-       "<td><table bgcolor='#E0E0E0'><tr><td align='center'><b>"
+         "<td><table bgcolor='"
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name()
+        + "'><tr><td align='center'><b>"
        + key
        + "</b></td></tr></table></td>"
        + "<td>" + summary      + "</td>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgConflictList.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgConflictList.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgConflictList.cc    2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgConflictList.cc    2011-06-30 
13:11:43.000000000 +0200
@@ -267,7 +267,9 @@
 {
     QFrame * frame = new QFrame( this );
     frame->setProperty( "class", "conflict-frame" );
-    frame->setStyleSheet( "background-color: lightgray;" );
+    frame->setStyleSheet( "background-color: " +
+    QApplication::palette().color( QPalette::Active, QPalette::Base ).name() +
+    ";" );
     
     QHBoxLayout * hbox  = new QHBoxLayout( frame );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgDependenciesView.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgDependenciesView.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgDependenciesView.cc        2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgDependenciesView.cc        2011-06-30 
13:11:43.000000000 +0200
@@ -110,7 +110,7 @@
              row( _("Obsoletes:"),     pkg->dep( zypp::Dep::OBSOLETES          
) ) +
              row( _("Recommends:"),    pkg->dep( zypp::Dep::RECOMMENDS         
) ) +
              row( _("Suggests:"),      pkg->dep( zypp::Dep::SUGGESTS           
) ) +
-             row( _("Enances:"),       pkg->dep( zypp::Dep::ENHANCES           
) ) +
+             row( _("Enhances:"),      pkg->dep( zypp::Dep::ENHANCES           
) ) +
              row( _("Supplements:"),   pkg->dep( zypp::Dep::SUPPLEMENTS        
) )
              );
 
@@ -140,7 +140,7 @@
              row( _("Obsoletes:"),     p1->dep( zypp::Dep::OBSOLETES   ), 
p2->dep( zypp::Dep::OBSOLETES        ) ) +
              row( _("Recommends:"),    p1->dep( zypp::Dep::RECOMMENDS  ), 
p2->dep( zypp::Dep::RECOMMENDS       ) ) +
              row( _("Suggests:"),      p1->dep( zypp::Dep::SUGGESTS    ), 
p2->dep( zypp::Dep::SUGGESTS         ) ) +
-             row( _("Enances:"),       p1->dep( zypp::Dep::ENHANCES    ), 
p2->dep( zypp::Dep::ENHANCES         ) ) +
+             row( _("Enhances:"),      p1->dep( zypp::Dep::ENHANCES    ), 
p2->dep( zypp::Dep::ENHANCES         ) ) +
              row( _("Supplements:"),   p1->dep( zypp::Dep::SUPPLEMENTS ), 
p2->dep( zypp::Dep::SUPPLEMENTS      ) )
              );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgGenericDetailsView.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgGenericDetailsView.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgGenericDetailsView.cc      2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgGenericDetailsView.cc      2011-06-30 
13:11:43.000000000 +0200
@@ -68,7 +68,9 @@
         "font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;"
         "font-weight: normal;"
         "font-size: small;"
-        ";color: #fff;"
+        ";color: "
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() + 
+        ";"
         "width: 100%;"
         ""
         "border: 1px;"
@@ -77,17 +79,25 @@
         ""
         "table.stats td"
         "{"
-        ";color: #000;"
+        ";color: "
+        + QApplication::palette().color( QPalette::Active, 
QPalette::WindowText).name() + 
+        ";"
         "padding: 4px;"
         "text-align: left;"
-        "border: 1px #fff solid;}"
+        "border: 1px "
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() + 
+        " solid;}"
         ""
         "table.stats td.hed"
         "{"
-        ";color: #fff;"
+        ";color: "
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() + 
+        ";"
         "padding: 4px;"
         "text-align: left;"
-        "border-bottom: 2px #fff solid;"
+        "border-bottom: 2px "
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() + 
+        " solid;"
         "font-size: small;"
         "font-weight: bold;} ";
 
@@ -256,10 +266,15 @@
 QString
 YQPkgGenericDetailsView::hcell( QString contents )
 {
+
+
+
     QString html = "<td";
 
     if ( ! YQUI::ui()->usingVisionImpairedPalette() )
-       html += " bgcolor=#D0D0D0";
+       html += " bgcolor=\""  
+             +  QApplication::palette().color( QPalette::Active, 
QPalette::Window).name()
+             +  "\"";
 
     html += ">" + contents + "</td>";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgSelDescriptionView.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgSelDescriptionView.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgSelDescriptionView.cc      2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgSelDescriptionView.cc      2011-06-30 
13:11:43.000000000 +0200
@@ -156,7 +156,9 @@
     QString html = "<table width='100%'";
 
     if ( ! YQUI::ui()->usingVisionImpairedPalette() )
-       html += " bgcolor='#C8C8F8'";   // or #E0E0F8 (very light blueish grey)
+       html += " bgcolor='"
+            + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name()
+             + "'";
 
     html += "><tr><td>"
        + ( useBigFont ? QString( "<h2>" ) : QString( "<b>" ) )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgTextDialog.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgTextDialog.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgTextDialog.cc      2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgTextDialog.cc      2011-06-30 
13:11:43.000000000 +0200
@@ -51,6 +51,7 @@
 #include <QKeyEvent>
 #include <QBoxLayout>
 #include <QEvent>
+#include <QApplication>
 
 #include "YQPkgTextDialog.h"
 
@@ -312,7 +313,9 @@
 YQPkgTextDialog::htmlHeading( const QString & text )
 {
     QString html =
-       "<table bgcolor=#E0E0F8><tr><td><b>"
+       "<table bgcolor="
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() 
+       + "><tr><td><b>"
        + text
        + "</b></td></tr></table><br>";
 
@@ -334,7 +337,9 @@
     QString summary = fromUTF8( zyppObj->summary() );
 
     QString html =
-       "<table bgcolor=#E0E0F8><tr><td><b>"
+       "<table bgcolor="
+        + QApplication::palette().color( QPalette::Active, 
QPalette::Base).name() 
+       + "><tr><td><b>"
        + fromUTF8( zyppObj->name() )
        + "</b>";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-qt-pkg-2.21.2/src/YQPkgVersionsView.cc 
new/yast2-qt-pkg-2.21.4/src/YQPkgVersionsView.cc
--- old/yast2-qt-pkg-2.21.2/src/YQPkgVersionsView.cc    2011-04-27 
17:06:05.000000000 +0200
+++ new/yast2-qt-pkg-2.21.4/src/YQPkgVersionsView.cc    2011-06-30 
13:11:43.000000000 +0200
@@ -49,6 +49,7 @@
 #include <QHeaderView>
 #include <QStylePainter>
 #include <QStyleOptionButton>
+#include <QApplication>
 
 
 #include "YQPkgVersionsView.h"
@@ -144,10 +145,10 @@
     _content->setLayout( _layout );
 
     // also paint the scrollarea background
-    setPalette( QPalette( Qt::white ) );
+    setPalette( QApplication::palette().color( QPalette::Active, 
QPalette::Base ) );
     setAutoFillBackground( true );
 
-    _content->setPalette( QPalette( Qt::white ) );
+    _content->setPalette( QApplication::palette().color( QPalette::Active, 
QPalette::Base ) );
     _content->setAutoFillBackground( true );
    
     QLabel * pkgNameLabel = new QLabel( this );


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to