diff options
author | Hannes Mehnert <hannes@gentoo.org> | 2003-03-03 23:04:35 +0000 |
---|---|---|
committer | Hannes Mehnert <hannes@gentoo.org> | 2003-03-03 23:04:35 +0000 |
commit | 2f8e5930f3499911f0bdbfe4d5f26d49586ded33 (patch) | |
tree | 4a0ccbb2e1bfee32cd5b517545328878b57695b4 /net-dialup/rppppoek | |
parent | Moving from net-www to net-zope. (diff) | |
download | gentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.tar.gz gentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.tar.bz2 gentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.zip |
fixed patch as described in bug #16668
Diffstat (limited to 'net-dialup/rppppoek')
-rw-r--r-- | net-dialup/rppppoek/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch | 8 |
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; |