[gnome-control-center] info: Avoid adding phantom "Unknown model" CPU on PPC64
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Avoid adding phantom "Unknown model" CPU on PPC64
- Date: Thu, 6 Dec 2012 10:06:41 +0000 (UTC)
commit 97ba46c83796d7b559743f5f70bdd901c3c24d9f
Author: Robert Roth <robert roth off gmail com>
Date: Wed Dec 5 23:52:53 2012 +0200
info: Avoid adding phantom "Unknown model" CPU on PPC64
Ported from gnome-system-monitor:
https://bugzilla.gnome.org/show_bug.cgi?id=619733
https://bugzilla.gnome.org/show_bug.cgi?id=649909
panels/info/cc-info-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 6032b5d..396822e 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -768,7 +768,7 @@ get_cpu_info (const glibtop_sysinfo *info)
}
if (model == NULL)
- model = _("Unknown model");
+ continue;
count = g_hash_table_lookup (counts, model);
if (count == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]