Commit a60d17a9 authored by daniel_e's avatar daniel_e
Browse files

(expand_and_select): Don't pass row_align to Gtk::TreeView::scroll_to_row()

if compiling for gtkmm 2.2 since lazy scrolling has now been implemented.
parent db2b924c
2002-12-15 Daniel Elstner <daniel.elstner@gmx.net>
* src/filetree.cc (expand_and_select): Don't pass row_align to
Gtk::TreeView::scroll_to_row() if compiling for gtkmm 2.2 since
lazy scrolling has now been implemented.
2002-12-15 Daniel Elstner <daniel.elstner@gmx.net>
* autogen.sh: Enable Bourne shell posix mode if possible, and
......
......@@ -26,6 +26,8 @@
#include <gtkmm/stock.h>
#include <config.h>
using namespace Regexxer::FileTreePrivate;
......@@ -727,7 +729,12 @@ void FileTree::expand_and_select(const Gtk::TreePath& path)
expand_row(parents.top(), false);
get_selection()->select(path);
#if REGEXXER_HAVE_GTKMM_22 /* actually a GTK+ issue */
scroll_to_row(path);
#else
scroll_to_row(path, 0.5);
#endif
}
void FileTree::on_treestore_sort_column_changed()
......
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