diff options
author | David Robillard <d@drobilla.net> | 2015-02-14 06:48:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-14 06:48:08 +0000 |
commit | 2d39bd620f88ae2e13b5be39d57f8dcd7618f079 (patch) | |
tree | a80e4ae25601a06e6b4cef4251c341c78426cde8 /src/gui/GraphBox.hpp | |
parent | 3b1324bad4a8785992e799306dfaf99f2e715a96 (diff) | |
download | ingen-2d39bd620f88ae2e13b5be39d57f8dcd7618f079.tar.gz ingen-2d39bd620f88ae2e13b5be39d57f8dcd7618f079.tar.bz2 ingen-2d39bd620f88ae2e13b5be39d57f8dcd7618f079.zip |
Clean up save dialog stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5563 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/GraphBox.hpp')
-rw-r--r-- | src/gui/GraphBox.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/GraphBox.hpp b/src/gui/GraphBox.hpp index 7ba2fd01..aee4902c 100644 --- a/src/gui/GraphBox.hpp +++ b/src/gui/GraphBox.hpp @@ -97,10 +97,11 @@ private: void property_changed(const Raul::URI& predicate, const Atom& value); void show_status(const Client::ObjectModel* model); - int message_dialog(const Glib::ustring& message, - const Glib::ustring& secondary_text, - Gtk::MessageType type, - Gtk::ButtonsType buttons); + void error(const Glib::ustring& message, + const Glib::ustring& secondary_text=""); + + bool confirm(const Glib::ustring& message, + const Glib::ustring& secondary_text=""); void event_import(); void event_save(); |