summaryrefslogtreecommitdiffstats
path: root/src/gui/WindowFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-12-20 22:16:00 +0000
committerDavid Robillard <d@drobilla.net>2008-12-20 22:16:00 +0000
commit2dfc299dc208808cd77617fef3cad2623a2d5b1a (patch)
tree24f4b1bd6339d8ef81e538b31dde449892fe3660 /src/gui/WindowFactory.cpp
parented81b9911af641dcb71ad17ee0fd9d91709b52d7 (diff)
downloadingen-2dfc299dc208808cd77617fef3cad2623a2d5b1a.tar.gz
ingen-2dfc299dc208808cd77617fef3cad2623a2d5b1a.tar.bz2
ingen-2dfc299dc208808cd77617fef3cad2623a2d5b1a.zip
Fix window closing stuff (fix ticket #296).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1882 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/WindowFactory.cpp')
-rw-r--r--src/gui/WindowFactory.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp
index b831db05..7709273b 100644
--- a/src/gui/WindowFactory.cpp
+++ b/src/gui/WindowFactory.cpp
@@ -184,9 +184,10 @@ bool
WindowFactory::remove_patch_window(PatchWindow* win, GdkEventAny* ignored)
{
if (_patch_windows.size() <= 1) {
- Gtk::MessageDialog d(*win, "This is the last remaining open patch "
- "window. Closing this window will exit the GUI (the engine will "
- "remain running).\n\nAre you sure you want to quit?",
+ Gtk::MessageDialog d(*win,
+ "Closing the only open patch window will exit the GUI\n"
+ "(If the engine is remote it will remain running)\n\n"
+ "Are you sure you want to quit?",
true, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE, true);
d.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
d.add_button(Gtk::Stock::QUIT, Gtk::RESPONSE_CLOSE);