Fix 1368881: hide the input devices dialog when the close button is pushed
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Mar 2007 09:22:15 +0000 (09:22 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Mar 2007 09:22:15 +0000 (09:22 +0000)
git-svn-id: http://svn.voria.com/code@277 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp

index 31a03dc..3fe18a7 100644 (file)
@@ -1237,6 +1237,7 @@ App::App(int *argc, char ***argv):
                
                studio_init_cb.task("Init Input Dialog...");
                dialog_input=new Gtk::InputDialog();
+               dialog_input->get_close_button()->signal_clicked().connect( sigc::mem_fun( *dialog_input, &Gtk::InputDialog::hide ) );
 
                studio_init_cb.task("Init auto recovery...");
                auto_recover=new AutoRecover();