Hello community, here is the log from the commit of package kdebase4-workspace for openSUSE:Factory checked in at 2013-01-19 16:37:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdebase4-workspace (Old) and /work/SRC/openSUSE:Factory/.kdebase4-workspace.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdebase4-workspace", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/kdebase4-workspace/kdebase4-workspace.changes 2013-01-15 08:05:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kdebase4-workspace.new/kdebase4-workspace.changes 2013-01-19 16:37:25.000000000 +0100 @@ -1,0 +2,12 @@ +Fri Jan 18 19:52:13 UTC 2013 - [email protected] + +- Add krunner-no-italics.diff to make krunner hits pretty (kde#307344) + +------------------------------------------------------------------- +Thu Jan 17 08:01:30 UTC 2013 - [email protected] + +- Update to 4.9.98 + * This is the third RC release for 4.10. Contains bugfixes +- Dropped krunner-no-crash.diff, included upstream + +------------------------------------------------------------------- Old: ---- kde-workspace-4.9.97.tar.xz krunner-no-crash.diff New: ---- kde-workspace-4.9.98.tar.xz krunner-no-italics.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdebase4-workspace.spec ++++++ --- /var/tmp/diff_new_pack.trx2La/_old 2013-01-19 16:37:28.000000000 +0100 +++ /var/tmp/diff_new_pack.trx2La/_new 2013-01-19 16:37:28.000000000 +0100 @@ -23,7 +23,7 @@ %endif Name: kdebase4-workspace -Version: 4.9.97 +Version: 4.9.98 Release: 0 Summary: The KDE Workspace Components License: GPL-2.0+ @@ -108,6 +108,7 @@ Patch124: kdm-fix-labelcolors.diff Patch125: pam-translate.diff Patch126: dont-install-solid-netbackends.diff +Patch127: krunner-no-italics.diff Patch201: plasma-notifications-kill-timer.diff Patch202: plasma-disable-networkmanager.diff # PATCH-FIX-OPENSUSE kdm_systemd_shutdown.patch Avoid the situation where systemd would kill KDM @@ -129,7 +130,6 @@ # PATCH-FIX-OPENSUSE opensuse-kinfocenter.diff (created by Alin M. Elena to have some openSUSE distro info in kinfocenter) Patch402: opensuse-kinfocenter.diff -Patch901: krunner-no-crash.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %suse_version > 1200 Requires: %{name}-branding = %{version} @@ -367,6 +367,7 @@ ###KDE47: rediff #%%patch125 %patch126 -p1 +%patch127 -p1 %patch201 -p1 %patch202 -p1 %patch213 -p1 @@ -376,7 +377,6 @@ %patch400 -p0 %patch401 -p1 %patch402 -p1 -%patch901 -p1 cp %{SOURCE3} kwin/effects/cube/data/cubecap.png %build ++++++ krunner-no-italics.diff ++++++ commit aed464bdf4ff6ddf81bd5730559a69d4dc7bd446 Author: Will Stephenson <[email protected]> Date: Fri Jan 18 20:46:43 2013 +0100 Change italic krunner result subtext to be smaller instead of italic (kde#307344) diff --git a/krunner/interfaces/default/resultitem.cpp b/krunner/interfaces/default/resultitem.cpp index 31fe94c..8d5e7d5 100644 --- a/krunner/interfaces/default/resultitem.cpp +++ b/krunner/interfaces/default/resultitem.cpp @@ -383,12 +383,12 @@ void ResultItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option p.setPen(textColor); //TODO: add subtext, make bold, etc... p.drawText(pixmap.rect(), Qt::AlignLeft | Qt::TextWordWrap, name()); - QFont italics = p.font(); - QFontMetrics italicMetrics(italics); - int fontHeight = italicMetrics.boundingRect(pixmap.rect(), Qt::AlignLeft | Qt::TextWordWrap, name()).height(); - italics.setItalic(true); - p.setFont(italics); - p.drawText(pixmap.rect().adjusted(0, fontHeight, 0, 0), Qt::AlignLeft | Qt::TextWordWrap, description()); + QFont subtext = p.font(); + subtext.setPointSize(qMax(subtext.pointSize() - 1, 1)); + QFontMetrics subtextMetrics(subtext); + int fontHeight = subtextMetrics.boundingRect(pixmap.rect(), Qt::AlignLeft | Qt::TextWordWrap, name()).height(); + p.setFont(subtext); + p.drawText(pixmap.rect().adjusted(0, pixmap.rect().height() - fontHeight, 0, 0), Qt::AlignLeft | Qt::TextWordWrap, description()); // Fade the pixmap out at the end if (width > pixmap.width()) { -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
