[gnome-control-center] info: Avoid adding phantom "Unknown model" CPU on PPC64



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]