diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
commit | 7b3c726991f0f060ca18c576fc7816b930435240 (patch) | |
tree | 1b6e5c7396fd89cd81baa018af6080c5349e1c6b /hardinfo2/report.c | |
parent | cbd8b0d401add58a06d82c7a5d7fb22b53d80714 (diff) |
- Add binreloc support.
- Add users information.
- Add ppc64 and mips64 support.
- Fix loadgraph autoscaling (should be usable now! :)
- Misc cosmetic changes.
- Misc wording changes.
Diffstat (limited to 'hardinfo2/report.c')
-rw-r--r-- | hardinfo2/report.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hardinfo2/report.c b/hardinfo2/report.c index ca5f1afa..c3f49dbc 100644 --- a/hardinfo2/report.c +++ b/hardinfo2/report.c @@ -116,7 +116,9 @@ report_html_table(ReportContext *ctx, gchar *text) if (g_str_equal(value, "...")) { g_free(value); - value = ctx->entry->fieldfunc(key); + if (!(value = ctx->entry->fieldfunc(key))) { + value = g_strdup("..."); + } } if (*key == '$') { @@ -194,10 +196,11 @@ report_get_filename(void) GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); -#if GTK_CHECK_VERSION(2,8,0) +#if GTK_CHECK_VERSION(2,8,0) gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE); -#endif +#endif + gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), "hardinfo report.html"); |