diff options
author | David Robillard <d@drobilla.net> | 2008-12-20 22:16:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-20 22:16:00 +0000 |
commit | 2dfc299dc208808cd77617fef3cad2623a2d5b1a (patch) | |
tree | 24f4b1bd6339d8ef81e538b31dde449892fe3660 /src/gui/WindowFactory.cpp | |
parent | ed81b9911af641dcb71ad17ee0fd9d91709b52d7 (diff) | |
download | ingen-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.cpp | 7 |
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); |