summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-11-16 16:44:43 +0100
committerBastien Nocera <hadess@hadess.net>2016-11-16 17:06:32 +0100
commit8d809ae43f8117c74144f7c95b5ce681ee9a9e05 (patch)
tree2969f439af81efd8631a28969de2c04b4b6a8b4d
parent3f651ef8d265c8ff7af0c5495cd471f3b19f6d85 (diff)
downloadgnome-control-center-8d809ae43f8117c74144f7c95b5ce681ee9a9e05.tar.gz
info: Add registered trademark symbol for AMD GPUs
https://bugzilla.gnome.org/show_bug.cgi?id=774240
-rw-r--r--panels/info/info-cleanup-test.txt6
-rw-r--r--panels/info/info-cleanup.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/panels/info/info-cleanup-test.txt b/panels/info/info-cleanup-test.txt
index cb21d12cb..6748f4360 100644
--- a/panels/info/info-cleanup-test.txt
+++ b/panels/info/info-cleanup-test.txt
@@ -1,6 +1,6 @@
Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz Intel<sup>®</sup> Core<sup>™</sup> i5-4590T CPU @ 2.00GHz
Intel(R) Ivybridge Mobile Intel<sup>®</sup> Ivybridge Mobile
Intel(R) Ivybridge Mobile Intel<sup>®</sup> Ivybridge Mobile
-Gallium 0.4 on AMD KAVERI AMD KAVERI
-AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD KAVERI
-Gallium 0.4 on AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD KAVERI
+Gallium 0.4 on AMD KAVERI AMD<sup>®</sup> KAVERI
+AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD<sup>®</sup> KAVERI
+Gallium 0.4 on AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD<sup>®</sup> KAVERI
diff --git a/panels/info/info-cleanup.c b/panels/info/info-cleanup.c
index b97772f6e..d907c55bb 100644
--- a/panels/info/info-cleanup.c
+++ b/panels/info/info-cleanup.c
@@ -41,6 +41,7 @@ prettify_info (const char *info)
{ "Atom[(]TM[)]", "Atom<sup>\342\204\242</sup>"},
{ "Gallium .* on (AMD .*)", "\\1"},
{ "(AMD .*) [(].*[)]", "\\1"},
+ { "AMD", "AMD<sup>\302\256</sup>"},
{ "Graphics Controller", "Graphics"},
};