From a8ea9db4af11208293543f50392127819c8007cd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Aug 2007 06:41:47 +0000 Subject: Actually move canvas items on move_to (fix ticket 74). git-svn-id: http://svn.drobilla.net/lad/ingen@669 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/App.hpp | 16 ++++++++-------- src/libs/gui/PatchWindow.cpp | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/libs') diff --git a/src/libs/gui/App.hpp b/src/libs/gui/App.hpp index fd90426b..ea549c09 100644 --- a/src/libs/gui/App.hpp +++ b/src/libs/gui/App.hpp @@ -85,13 +85,13 @@ public: void quit(); - ConnectWindow* connect_window() const { return _connect_window; } - Gtk::Dialog* about_dialog() const { return _about_dialog; } - ConfigWindow* configuration_dialog() const { return _config_window; } - MessagesWindow* messages_dialog() const { return _messages_window; } - PatchTreeWindow* patch_tree() const { return _patch_tree_window; } - Configuration* configuration() const { return _configuration; } - WindowFactory* window_factory() const { return _window_factory; } + ConnectWindow* connect_window() const { return _connect_window; } + Gtk::AboutDialog* about_dialog() const { return _about_dialog; } + ConfigWindow* configuration_dialog() const { return _config_window; } + MessagesWindow* messages_dialog() const { return _messages_window; } + PatchTreeWindow* patch_tree() const { return _patch_tree_window; } + Configuration* configuration() const { return _configuration; } + WindowFactory* window_factory() const { return _window_factory; } const SharedPtr& engine() const { return _engine; } const SharedPtr& client() const { return _client; } @@ -123,7 +123,7 @@ protected: MessagesWindow* _messages_window; PatchTreeWindow* _patch_tree_window; ConfigWindow* _config_window; - Gtk::Dialog* _about_dialog; + Gtk::AboutDialog* _about_dialog; WindowFactory* _window_factory; Ingen::Shared::World* _world; diff --git a/src/libs/gui/PatchWindow.cpp b/src/libs/gui/PatchWindow.cpp index e92f0fd7..ceeff852 100644 --- a/src/libs/gui/PatchWindow.cpp +++ b/src/libs/gui/PatchWindow.cpp @@ -124,8 +124,8 @@ PatchWindow::PatchWindow(BaseObjectType* cobject, const Glib::RefPtrsignal_activate().connect( sigc::mem_fun(App::instance().patch_tree(), &PatchTreeWindow::present)); - _menu_help_about->signal_activate().connect( - sigc::mem_fun(App::instance().about_dialog(), &Gtk::Dialog::present)); + _menu_help_about->signal_activate().connect(sigc::hide_return( + sigc::mem_fun(App::instance().about_dialog(), &Gtk::AboutDialog::run))); _breadcrumb_box = new BreadCrumbBox(); _breadcrumb_box->signal_patch_selected.connect(sigc::mem_fun(this, &PatchWindow::set_patch_from_path)); -- cgit v1.2.1