Commit bd36e3cb authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:load_xml): Make the folder button grab focus because otherwise the

* src/mainwindow.cc (MainWindow::load_xml): Make the folder button
grab focus because otherwise the Preferences tool button will be
focused after startup.  I blame libglade -- its whole tool button
handling seems to be somewhat shaky.
parent 700c7f23
2004-05-18 Daniel Elstner <daniel.elstner@gmx.net>
* src/mainwindow.cc (MainWindow::load_xml): Make the folder button
grab focus because otherwise the Preferences tool button will be
focused after startup. I blame libglade -- its whole tool button
handling seems to be somewhat shaky.
2004-05-18 Daniel Elstner <daniel.elstner@gmx.net>
* configure.ac (ALL_LINGUAS): Use `cat "$srcdir/po/LINGUAS"` to
......
......@@ -184,6 +184,7 @@ void MainWindow::load_xml()
Gtk::Button* button_folder = 0;
xml->get_widget("button_folder", button_folder);
button_folder->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::on_select_folder));
button_folder->grab_focus();
controller_.load_xml(xml);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment