From 3e701eafdb22b1a478c31264151ae80a4a17522a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 13 Jul 2014 19:51:38 +0000 Subject: [PATCH] [GB.DESKTOP] * BUG: Desktop.NetworkAvailable now works with another 'ifconfig' output syntax. git-svn-id: svn://localhost/gambas/trunk@6377 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- comp/src/gb.desktop/.settings | 2 +- comp/src/gb.desktop/.src/Desktop.class | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/comp/src/gb.desktop/.settings b/comp/src/gb.desktop/.settings index 481debf7e..cb136d2c7 100644 --- a/comp/src/gb.desktop/.settings +++ b/comp/src/gb.desktop/.settings @@ -14,7 +14,7 @@ Path="gb.desktop.gambas" File[1]=".src/DesktopMime.class:94.30" File[2]=".src/DesktopWatcher.class:13.14" Active=3 -File[3]=".src/Desktop.class:569.19" +File[3]=".src/Desktop.class:574.9" File[4]=".src/Atom.class:10.16" File[5]=".src/_Desktop_Passwords.class:0.0" Count=5 diff --git a/comp/src/gb.desktop/.src/Desktop.class b/comp/src/gb.desktop/.src/Desktop.class index 61c0ecb51..5b38d4654 100644 --- a/comp/src/gb.desktop/.src/Desktop.class +++ b/comp/src/gb.desktop/.src/Desktop.class @@ -570,6 +570,8 @@ Static Private Function NetworkAvailable_Read() As Boolean sLine = Trim(sLine) If sLine Begins "inet addr:" Then If sLine Not Begins "inet addr:127.0.0.1" Then Return True + Else If sLine Begins "inet " Then + If sLine Not Begins "inet 127.0.0.1" Then Return True Endif Next