summaryrefslogtreecommitdiffstats
path: root/src/gui/WindowFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/WindowFactory.cpp')
-rw-r--r--src/gui/WindowFactory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp
index f2bda8e7..6c4cba1e 100644
--- a/src/gui/WindowFactory.cpp
+++ b/src/gui/WindowFactory.cpp
@@ -264,6 +264,11 @@ WindowFactory::present_load_plugin(SharedPtr<PatchModel> patch, GraphObject::Pro
_load_plugin_win->set_transient_for(*w->second);
_load_plugin_win->set_modal(false);
+ _load_plugin_win->set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
+ int width, height;
+ w->second->get_size(width, height);
+ _load_plugin_win->set_default_size(width - width / 8, height / 2);
+ _load_plugin_win->set_title(string("Load Plugin - ") + patch->path().str() + " - Ingen");
_load_plugin_win->present(patch, data);
}