From 2d39bd620f88ae2e13b5be39d57f8dcd7618f079 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Feb 2015 06:48:08 +0000 Subject: Clean up save dialog stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5563 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphBox.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/GraphBox.hpp') 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(); -- cgit v1.2.1