forked from osmocom/wireshark
Make the dialog a child of the color filters dialog, not the top-level
window. svn path=/trunk/; revision=49283
This commit is contained in:
parent
afb44c61ec
commit
679ee2e9af
|
@ -983,7 +983,7 @@ color_clear_cb(GtkWidget *widget, gpointer data _U_) {
|
|||
gint response;
|
||||
|
||||
/* ask user, if he/she is really sure */
|
||||
msg_dialog = gtk_message_dialog_new(GTK_WINDOW(top_level),
|
||||
msg_dialog = gtk_message_dialog_new(GTK_WINDOW(gtk_widget_get_toplevel(widget)),
|
||||
(GtkDialogFlags)(GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT),
|
||||
GTK_MESSAGE_QUESTION,
|
||||
GTK_BUTTONS_NONE,
|
||||
|
|
Loading…
Reference in New Issue