ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/installer2/src/net/oni2/aeinstaller/AEInstaller2.java
(Generate patch)

Comparing AE/installer2/src/net/oni2/aeinstaller/AEInstaller2.java (file contents):
Revision 612 by alloc, Mon Jan 14 18:55:16 2013 UTC vs.
Revision 621 by alloc, Tue Jan 15 20:02:01 2013 UTC

# Line 176 | Line 176 | public class AEInstaller2 {
176                          }
177                  }
178  
179 +                boolean offline = !DepotManager.getInstance().checkConnection();
180 +                if (offline) {
181 +                        JOptionPane.showMessageDialog(null,
182 +                                        basicBundle.getString("offlineMode.text"),
183 +                                        basicBundle.getString("offlineMode.title"),
184 +                                        JOptionPane.INFORMATION_MESSAGE);
185 +                }
186 +                Settings.getInstance().setOfflineMode(offline);
187 +
188                  SwingUtilities.invokeLater(new Runnable() {
189                          public void run() {
190                                  try {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)