summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/rppppoek/ChangeLog6
-rw-r--r--net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch8
2 files changed, 9 insertions, 5 deletions
diff --git a/net-dialup/rppppoek/ChangeLog b/net-dialup/rppppoek/ChangeLog
index 98c3f80084d2..b219b2099e41 100644
--- a/net-dialup/rppppoek/ChangeLog
+++ b/net-dialup/rppppoek/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/rppppoek
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rppppoek/ChangeLog,v 1.1 2003/03/01 10:49:38 hannes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rppppoek/ChangeLog,v 1.2 2003/03/03 23:04:35 hannes Exp $
+
+ 03 Mar 2003; Hannes Mehnert <hannes@gentoo.org>
+ files/rppppoek-0.33-panelicon.patch: patched patch, fixes bug #16668,
+ thanks again to mona- <mona-@plala.to>
*rppppoek-0.33 (24 Feb 2003)
diff --git a/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch b/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
index 16a64f42c36d..4bbd69dc8f51 100644
--- a/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
+++ b/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
@@ -5,12 +5,12 @@
KActionCollection* actionCollection = new KActionCollection(this);
+ stat = new KProcess;
-+ *stat << "ifconfig" << "ppp0";
++ *stat << "/sbin/ifconfig" << "ppp0";
+ stat->start(KProcess::Block, KProcess::Stdout);
-+ if (stat->exitStatus() == 0) {
-+ setPixmap(Icon("connect_established"));
-+ } else {
++ if (stat->exitStatus()) {
+ setPixmap(Icon("connect_no"));
++ } else {
++ setPixmap(Icon("connect_established"));
+ }
+
start = new KProcess;