From c34cdda95498ea76f6c6201dcfd09b4dcec4ec58 Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Tue, 25 Sep 2018 22:19:26 +0200 Subject: [PATCH] rename gnome to linux --- .../{GnomeTerminalLogger.java => LinuxTerminalLogger.java} | 2 +- src/main/ui/logger/loggerdisplays/PacketLoggerFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/main/ui/logger/loggerdisplays/{GnomeTerminalLogger.java => LinuxTerminalLogger.java} (97%) diff --git a/src/main/ui/logger/loggerdisplays/GnomeTerminalLogger.java b/src/main/ui/logger/loggerdisplays/LinuxTerminalLogger.java similarity index 97% rename from src/main/ui/logger/loggerdisplays/GnomeTerminalLogger.java rename to src/main/ui/logger/loggerdisplays/LinuxTerminalLogger.java index b00b593..1279cd3 100644 --- a/src/main/ui/logger/loggerdisplays/GnomeTerminalLogger.java +++ b/src/main/ui/logger/loggerdisplays/LinuxTerminalLogger.java @@ -8,7 +8,7 @@ import java.util.Map; /** * Created by Jonas on 04/04/18. */ -class GnomeTerminalLogger extends SimpleTerminalLogger { +class LinuxTerminalLogger extends SimpleTerminalLogger { public final static Map colorizePackets; static { diff --git a/src/main/ui/logger/loggerdisplays/PacketLoggerFactory.java b/src/main/ui/logger/loggerdisplays/PacketLoggerFactory.java index 267957a..6479d0c 100644 --- a/src/main/ui/logger/loggerdisplays/PacketLoggerFactory.java +++ b/src/main/ui/logger/loggerdisplays/PacketLoggerFactory.java @@ -9,7 +9,7 @@ public class PacketLoggerFactory { public static PacketLogger get() { if (OSValidator.isUnix()) { - return new GnomeTerminalLogger(); + return new LinuxTerminalLogger(); } // if (System.getenv("XDG_CURRENT_DESKTOP") != null && System.getenv("XDG_CURRENT_DESKTOP").toLowerCase().contains("gnome")) { // return new GnomeTerminalLogger();