diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-11-16 16:52:56 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-11-16 17:03:49 +0100 |
commit | 1549857fc98626cd0728d74b7adbf97367a02af2 (patch) | |
tree | a48f43027b67221ae287f1a222958ae5ab75b592 | |
parent | 4d39db6b20587d7afc060e4b67c89886cca8310c (diff) | |
download | gnome-control-center-1549857fc98626cd0728d74b7adbf97367a02af2.tar.gz |
info: Lowercase APU/GPU names for AMD
https://bugzilla.gnome.org/show_bug.cgi?id=774240
-rw-r--r-- | panels/info/info-cleanup-test.txt | 6 | ||||
-rw-r--r-- | panels/info/info-cleanup.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/panels/info/info-cleanup-test.txt b/panels/info/info-cleanup-test.txt index 6748f4360..44dde2825 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<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 +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 d907c55bb..6c0ea88c1 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 [A-Z])(.*)", "\\1\\L\\2\\E"}, { "AMD", "AMD<sup>\302\256</sup>"}, { "Graphics Controller", "Graphics"}, }; |