aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/report.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-08 01:08:07 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-08 01:08:07 +0000
commitb1d1223551baa57174020af62c58016deca90096 (patch)
treea410c61c234de25400a0efa96a6f21c8f29e15d8 /hardinfo2/report.c
parentf11c77e39f595fda18aaa7035ee6e1f032cc6039 (diff)
Today's last commit. Yarr.
Diffstat (limited to 'hardinfo2/report.c')
-rw-r--r--hardinfo2/report.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/hardinfo2/report.c b/hardinfo2/report.c
index 492d35fd..ecd0af3a 100644
--- a/hardinfo2/report.c
+++ b/hardinfo2/report.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
#include <shell.h>
+#include <iconcache.h>
#include <hardinfo.h>
#include <config.h>
@@ -630,10 +631,11 @@ static ReportDialog
GtkWidget *button8;
GtkWidget *button7;
GtkWidget *label;
+ GtkWidget *hbox;
GtkTreeViewColumn *column;
GtkCellRenderer *cr_text, *cr_pbuf, *cr_toggle;
-
+
rd = g_new0(ReportDialog, 1);
dialog = gtk_dialog_new();
@@ -650,14 +652,21 @@ static ReportDialog
gtk_container_set_border_width(GTK_CONTAINER(dialog1_vbox), 4);
gtk_widget_show(dialog1_vbox);
+ hbox = gtk_hbox_new(FALSE, 5);
+ gtk_box_pack_start(GTK_BOX(dialog1_vbox), hbox, FALSE, FALSE, 0);
+
label = gtk_label_new("<big><b>Generate Report</b></big>\n" \
"Please choose the information that you wish " \
"to view in your report:");
gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
- gtk_widget_show(label);
- gtk_box_pack_start(GTK_BOX(dialog1_vbox), label, FALSE, FALSE, 0);
+
+ gtk_box_pack_start(GTK_BOX(hbox),
+ icon_cache_get_image("report-large.png"),
+ FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, TRUE, 0);
+ gtk_widget_show_all(hbox);
scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL);
gtk_widget_show(scrolledwindow2);