Commit d7ff615
Fix overview search and alternates
Changed files (2)
Diff
@@ -319,9 +319,15 @@ public class MainWindow : GLib.Object { tools = tb; } - public static OverView get_overview () { - return overview; - }+ public static OverView get_overview () {+ foreach (Tab t in tabs.tabs) {+ if (t.get_display () is OverView) {+ return (OverView) t.get_display ();+ }+ }+ + return overview;+ } } } @@ -21,7 +21,7 @@ public class TabBar : GLib.Object { public int width = 0; public int height = 0; - private Gee.ArrayList<Tab> tabs;+ public Gee.ArrayList<Tab> tabs; static const int NO_TAB = -1; static const int NEXT_TAB = -2;