Parcourir la source

Fixed error icon priorities

Fixed update dialog not updating everything if one of them required a restart
Added checkboxes to the update dialog (fixes issue 756)
Redid the layout for the update dialog
All packing tables are no longer uneditable
Moved Update.Status to UpdateStatus
Remove debug fakeupdate command (fixes issue 757)
[23:23:58] <@Greboid> Fixed focus issues with the new inputfield

git-svn-id: http://svn.dmdirc.com/branches/0.5.5@3306 00569f92-eb28-0410-84fd-f71c24880f
remotes/0.5.5
Gregory Holmes il y a 16 ans
Parent
révision
08af89fa23

+ 1
- 11
src/com/dmdirc/commandparser/commands/global/Debug.java Voir le fichier

@@ -35,9 +35,9 @@ import com.dmdirc.logger.Logger;
35 35
 import com.dmdirc.ui.input.AdditionalTabTargets;
36 36
 import com.dmdirc.ui.interfaces.InputWindow;
37 37
 import com.dmdirc.updater.UpdateChecker;
38
+
38 39
 import java.io.Serializable;
39 40
 import java.util.Comparator;
40
-
41 41
 import java.util.List;
42 42
 import java.util.Map;
43 43
 import java.util.Map.Entry;
@@ -64,8 +64,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
64 64
             showUsage(origin, isSilent, "debug", "<debug command> [options]");
65 65
         } else if ("error".equals(args[0])) {
66 66
             doError(args);
67
-        } else if ("fakeupdate".equals(args[0])) {
68
-            doFakeUpdate();
69 67
         } else if ("showraw".equals(args[0])) {
70 68
             doShowRaw(origin, isSilent);
71 69
         } else if ("configstats".equals(args[0])) {
@@ -126,13 +124,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
126 124
         }
127 125
     }
128 126
     
129
-    /**
130
-     * Fakes an available update.
131
-     */
132
-    private void doFakeUpdate() {
133
-        new UpdateChecker().doUpdateAvailable("outofdate dummy 1337 0 http://www.example.com/");
134
-    }
135
-    
136 127
     /**
137 128
      * Attempts to show the server's raw window.
138 129
      *
@@ -318,7 +309,6 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
318 309
         
319 310
         if (arg == 0) {
320 311
             res.add("error");
321
-            res.add("fakeupdate");
322 312
             res.add("showraw");
323 313
             res.add("colourspam");
324 314
             res.add("configstats");

+ 1
- 1
src/com/dmdirc/ui/swing/components/SwingStatusBar.java Voir le fichier

@@ -209,7 +209,7 @@ public final class SwingStatusBar extends JPanel implements MouseListener,
209 209
         if (errors.size() > 0) {
210 210
             for (ProgramError error : errors) {
211 211
                 if (errorLevel == null ||
212
-                        error.getLevel().moreImportant(errorLevel)) {
212
+                        !error.getLevel().moreImportant(errorLevel)) {
213 213
                     errorLevel = error.getLevel();
214 214
                     errorLabel.setIcon(errorLevel.getIcon());
215 215
                 }

Chargement…
Annuler
Enregistrer