[gnome-control-center] info-overview: Remove some junk info, like PCIe and SSE



commit 50ab1b0742f85dd69ad6d5a70edd48adfa0495d1
Author: Norbert Pfeiler <norbert pfeiler+git gmail com>
Date:   Sat Jan 29 10:58:55 2022 +0100

    info-overview: Remove some junk info, like PCIe and SSE

 panels/info-overview/info-cleanup.c | 1 +
 tests/info/info-cleanup-test.txt    | 2 ++
 2 files changed, 3 insertions(+)
---
diff --git a/panels/info-overview/info-cleanup.c b/panels/info-overview/info-cleanup.c
index 25d957a1d..f0e8cc772 100644
--- a/panels/info-overview/info-cleanup.c
+++ b/panels/info-overview/info-cleanup.c
@@ -40,6 +40,7 @@ prettify_info (const char *info)
     { "[(]R[)]", "\302\256"},
     { "[(](tm|TM)[)]", "\342\204\242"},
     { "Gallium \\d+\\.\\d+ on (.*)", "\\1"},
+    { " x86|/MMX|/SSE2|/PCIe", ""},
     { " [(][^)]*(DRM|MESA|LLVM)[^)]*[)]?", ""},
     { "Graphics Controller", "Graphics"},
   };
diff --git a/tests/info/info-cleanup-test.txt b/tests/info/info-cleanup-test.txt
index e8ca5da0f..ce8084305 100644
--- a/tests/info/info-cleanup-test.txt
+++ b/tests/info/info-cleanup-test.txt
@@ -13,3 +13,5 @@ Gallium 0.4 on SVGA3D SVGA3D
 Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)   llvmpipe
 AMD FX(tm)-8350 Eight-Core Processor   AMD FX™-8350 Eight-Core Processor
 AMD Athlon(tm) II X3 435 Processor     AMD Athlon™ II X3 435 Processor
+NVIDIA GeForce GT 710/PCIe/SSE2        NVIDIA GeForce GT 710
+Mesa DRI Intel(R) 965GM x86/MMX/SSE2   Intel® 965GM


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]