diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2020-05-13 22:42:22 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2020-05-13 22:42:22 -0700 |
commit | e50ea0a6d34b59e638ad30116d589bc7aa169f44 (patch) | |
tree | df6180ffe7bbe0f70b5c90409e7d7c6f5d74732b /shell/shell.c | |
parent | a19233d7013aad91d4cfa80d216070caa6a8c141 (diff) |
Show "Benchmarking..." dialog on top of sync manager
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c index 06e2f936..338e68f3 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -737,6 +737,11 @@ gboolean hardinfo_link(const gchar *uri) { return FALSE; /* didn't handle it */ } +void shell_set_transient_dialog(GtkWindow *dialog) +{ + shell->transient_dialog = dialog ? dialog : shell->window; +} + void shell_init(GSList * modules) { if (shell) { @@ -761,6 +766,7 @@ void shell_init(GSList * modules) shell->info_tree = info_tree_new(); shell->loadgraph = load_graph_new(75); shell->detail_view = detail_view_new(); + shell->transient_dialog = shell->window; update_tbl = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, destroy_update_tbl_value); |