In progress...
This commit is contained in:
parent
7021714a38
commit
5f66c66c13
@ -11,8 +11,11 @@ namespace LAview.Core.Plugins {
|
|||||||
|
|
||||||
dialog = builder.get_object ("object_example_dialog") as Dialog;
|
dialog = builder.get_object ("object_example_dialog") as Dialog;
|
||||||
if (parent is Window) {
|
if (parent is Window) {
|
||||||
|
dialog.destroy_with_parent = true;
|
||||||
dialog.transient_for = parent as Window;
|
dialog.transient_for = parent as Window;
|
||||||
dialog.modal = true;
|
dialog.modal = true;
|
||||||
|
//dialog.application = application;
|
||||||
|
dialog.delete_event.connect ((source) => {return true;});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user