forked from osmocom/wireshark
Another solution to fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8183.
Now both windows are modal. svn path=/trunk/; revision=47018
This commit is contained in:
parent
614441f9e5
commit
2dc365db46
|
@ -2609,6 +2609,7 @@ void options_interface_cb(GtkTreeView *view, GtkTreePath *path, GtkTreeViewColum
|
|||
}
|
||||
marked_row = atoi(gtk_tree_path_to_string(path));
|
||||
opt_edit_w = dlg_window_new("Edit Interface Settings");
|
||||
gtk_window_set_modal(GTK_WINDOW(opt_edit_w), TRUE);
|
||||
g_object_set_data(G_OBJECT(opt_edit_w), E_OPT_EDIT_CALLER_PTR_KEY, caller);
|
||||
g_object_set_data(G_OBJECT(caller), E_OPT_EDIT_DIALOG_PTR_KEY, opt_edit_w);
|
||||
|
||||
|
|
|
@ -408,6 +408,7 @@ filter_dialog_new(GtkWidget *button, GtkWidget *parent_filter_te,
|
|||
}
|
||||
|
||||
main_w = dlg_conf_window_new(construct_args->title);
|
||||
gtk_window_set_modal(GTK_WINDOW(main_w), TRUE);
|
||||
gtk_window_set_default_size(GTK_WINDOW(main_w), 400, 400);
|
||||
g_object_set_data(G_OBJECT(main_w), E_FILT_CONSTRUCT_ARGS_KEY, construct_args);
|
||||
|
||||
|
|
Loading…
Reference in New Issue