projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8def3
)
fix about window close button
author
Robin Gareus
<robin@gareus.org>
Thu, 6 Jun 2013 19:00:42 +0000
(21:00 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 6 Jun 2013 19:00:42 +0000
(21:00 +0200)
gtk2_ardour/about.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/about.cc
b/gtk2_ardour/about.cc
index db721b64411b70b45e6c75fe93367fc13ef14c88..280f72a8dcb46c434c56a589f741496bd2a65d5c 100644
(file)
--- a/
gtk2_ardour/about.cc
+++ b/
gtk2_ardour/about.cc
@@
-591,6
+591,11
@@
About::About ()
get_action_area()->add (*config_button);
get_action_area()->reorder_child (*config_button, 0);
config_button->signal_clicked().connect (mem_fun (*this, &About::show_config_info));
+
+ Gtk::Button *btn = static_cast<Gtk::Button*>(get_widget_for_response(Gtk::RESPONSE_CANCEL));
+ if (btn) {
+ btn->signal_clicked().connect(sigc::mem_fun(static_cast<Gtk::Window*>(this), &Gtk::Window::hide));
+ }
}
About::~About ()