Removed stdin-plasmoid.

atratsevskiy
Mike Hiretsky 14 years ago
parent 16d3777117
commit bedeea05e5

@ -1,3 +0,0 @@
AUX color.patch 962 RMD160 e9dd9d3872a8577e3b12d72d6970f5a0a9b36c69 SHA1 4a4d22611f5d31d2f2acba934ac1bad782976bb1 SHA256 e2873d64f4f5190547fc331f6729b1fdaf83d46f281fc6f148406326d7feb762
DIST 92309-0.2-beta1.tar.bz2 27400 RMD160 3eef883c160c934efebd0ff1329f643ae13947a0 SHA1 84219f6e063c7c0d7c1e4c289b5467daab1184fc SHA256 29c2ea5bcddffb1b3d0e2326bb50025a413bc904e50093582ba928812ddb8d6d
EBUILD stdin-plasmoid-0.2_beta1.ebuild 768 RMD160 e8a6592802ed24725c9d6d09d8708da9cb5ec44a SHA1 492c1f5590c4fd67346319d55bd0b25f5b3fd4ef SHA256 ff03546a001857fdb8039c534d8ca7b7bda67483d67f98070bff7cb6cdbfbc8b

@ -1,34 +0,0 @@
diff -uNr 0.2-beta1.orig/0.2/label.cpp 0.2-beta1/0.2/label.cpp
--- 0.2-beta1.orig/0.2/label.cpp 2009-02-09 03:01:10.000000000 +0300
+++ 0.2-beta1/0.2/label.cpp 2009-02-11 11:15:12.000000000 +0300
@@ -18,6 +18,7 @@
*/
#include <QGraphicsWidget>
#include <QGraphicsLinearLayout>
+#include <QStringList>
#include <plasma/widgets/label.h>
#include "label.h"
@@ -40,7 +41,14 @@
void Label::setText ( const QString &str )
{
- m_label->setText ( str );
+ QStringList strList = str.split("|");
+ if( strList.count() > 1 )
+ {
+ setColor( QColor(strList[0]) );
+ strList.removeAt(0);
+ }
+ QString outstr = strList.join("|");
+ m_label->setText ( outstr );
layout ()->setPreferredSize ( m_label->nativeWidget ()->sizeHint () );
/*delete layout ();
@@ -61,4 +69,4 @@
return m_label->nativeWidget ()->palette ().color ( QPalette::WindowText );
}
-#include "label.moc"
\ В конце файла нет новой строки
+#include "label.moc"

@ -1,31 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit kde eutils
MY_P="0.2-beta1"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Plasmoid executes a process and captures its stdout output stream"
HOMEPAGE="http://kde-look.org/content/show.php/STDIN+Plasmoid?content=92309"
SRC_URI="http://kde-look.org/CONTENT/content-files/92309-0.2-beta1.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""
DEPEND="
>=kde-base/kdelibs-4.2.0
>=dev-util/cmake-2.4"
src_compile() {
epatch "${FILESDIR}/color.patch"
cmake -DCMAKE_INSTALL_PREFIX=/usr/ || die "cmake failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
Loading…
Cancel
Save