From b9bc708591332baf2f347aa98af25e3408374d09 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 25 Apr 2009 10:06:07 -0300 Subject: Use parent windows when creating the Report, Network Updater and Remote windows. --- hardinfo2/callbacks.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hardinfo2/callbacks.c') diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c index bc261b4e..c56d9a76 100644 --- a/hardinfo2/callbacks.c +++ b/hardinfo2/callbacks.c @@ -31,12 +31,16 @@ void cb_sync_manager() { - sync_manager_show(); + Shell *shell = shell_get_main_shell(); + + sync_manager_show(shell->window); } void cb_connect_to() { - remote_dialog_show(); + Shell *shell = shell_get_main_shell(); + + remote_dialog_show(shell->window); } void cb_save_graphic() -- cgit v1.2.3