diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-30 00:36:03 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-30 00:36:03 +0000 |
commit | ee1fa4b725acd32a8549f0d5f16f6e5f1ec1fbd5 (patch) | |
tree | 86a4c17f95333222dc69835b8d2be85a74d2c91c | |
parent | 22b94483a3bcecf038ab531eefb023d1a578cfd8 (diff) |
Cleanups
-rw-r--r-- | hardinfo2/arch/linux/x86/processor.h | 10 | ||||
-rw-r--r-- | hardinfo2/callbacks.c | 6 | ||||
-rw-r--r-- | hardinfo2/menu.c | 6 |
3 files changed, 14 insertions, 8 deletions
diff --git a/hardinfo2/arch/linux/x86/processor.h b/hardinfo2/arch/linux/x86/processor.h index 4b2b3447..f6c66971 100644 --- a/hardinfo2/arch/linux/x86/processor.h +++ b/hardinfo2/arch/linux/x86/processor.h @@ -306,10 +306,12 @@ static gchar *processor_get_detailed_info(Processor * processor) #else "Big Endian", #endif - processor->bug_fdiv, - processor->bug_hlt, - processor->bug_f00f, - processor->bug_coma, processor->has_fpu, tmp); + processor->bug_fdiv ? "Yes" : "No", + processor->bug_hlt ? "Yes" : "No", + processor->bug_f00f ? "Yes" : "No", + processor->bug_coma ? "Yes" : "No", + processor->has_fpu ? "Yes" : "No", + tmp); g_free(tmp); return ret; diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c index 14a133a2..0b312717 100644 --- a/hardinfo2/callbacks.c +++ b/hardinfo2/callbacks.c @@ -85,13 +85,17 @@ void cb_about() { GtkWidget *about; const gchar *authors[] = { + "Author:", "Leandro A. F. Pereira", + "", + "Contributors:", "Agney Lopes Roth Ferraz", "SCSI support by Pascal F. Martin", + "", + "Based on work by:", "MD5 implementation by Colin Plumb", "SHA1 implementation by Steve Raid", "Blowfish implementation by Paul Kocher", - "", "Some code partly based on x86cpucaps by Osamu Kayasono", "Vendor list based on GtkSysInfo by Pissens Sebastien", NULL diff --git a/hardinfo2/menu.c b/hardinfo2/menu.c index 1632c260..63b5a2b2 100644 --- a/hardinfo2/menu.c +++ b/hardinfo2/menu.c @@ -51,17 +51,17 @@ static GtkActionEntry entries[] = G_CALLBACK(cb_refresh) }, { "HomePageAction", HI_STOCK_INTERNET, - "_Open HardInfo Web Site\342\200\246", NULL, + "_Open HardInfo Web Site", NULL, NULL, G_CALLBACK(cb_open_web_page) }, { "ReportBugAction", HI_STOCK_INTERNET, - "_Report bug\342\200\246", NULL, + "_Report bug", NULL, NULL, G_CALLBACK(cb_report_bug) }, { "AboutAction", GTK_STOCK_ABOUT, - "_About\342\200\246", NULL, + "_About", NULL, "Displays program version information", G_CALLBACK(cb_about) }, |