Make "Edit Interfaces Dialog" modal

-This line, and those below, will be ignored--

M    ui/gtk/capture_dlg.c

svn path=/trunk/; revision=46500
This commit is contained in:
Irene Rüngeler 2012-12-11 16:55:17 +00:00
parent 7cf0d9ed2b
commit 7f6519287e
1 changed files with 1 additions and 0 deletions

View File

@ -2607,6 +2607,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);