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 | da0fba83c05c0956b55dd1c95042dbee7d831d0f (patch) | |
tree | b7954dc56628a665c3342dcc5d4c3bf20b47256e /net-dialup/rppppoek | |
parent | Moving from net-www to net-zope. (diff) | |
download | historical-da0fba83c05c0956b55dd1c95042dbee7d831d0f.tar.gz historical-da0fba83c05c0956b55dd1c95042dbee7d831d0f.tar.bz2 historical-da0fba83c05c0956b55dd1c95042dbee7d831d0f.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; |