diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-01-26 19:39:15 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-01-26 19:39:15 +0000 |
commit | e9906f6d9335ae96cd6afac714646b97edc469a5 (patch) | |
tree | 956f3266766454f931e7d18e2fe78a6256d11039 /hardinfo2/callbacks.c | |
parent | 53f455be1d85829551761dbcfcf6e5706606186b (diff) |
Sync with internal svn
Diffstat (limited to 'hardinfo2/callbacks.c')
-rw-r--r-- | hardinfo2/callbacks.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c index b4d80244..4a3ed6a6 100644 --- a/hardinfo2/callbacks.c +++ b/hardinfo2/callbacks.c @@ -15,11 +15,14 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + #include <gtk/gtk.h> #include <callbacks.h> #include <iconcache.h> #include <config.h> + #include <shell.h> +#include <report.h> void cb_refresh() { @@ -63,7 +66,9 @@ void cb_about() void cb_generate_report() { - g_print("generate report\n"); + Shell *shell = shell_get_main_shell(); + + report_dialog_show(shell->tree->model, shell->window); } void cb_quit(void) |