summaryrefslogtreecommitdiff
path: root/src/com/android/browser/TabControl.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-08-10 17:36:42 -0400
committerLeon Scroggins <scroggo@google.com>2009-08-13 13:51:04 -0400
commit1f005d370557b6e69d2de6537e5ea21f73a7ec3f (patch)
tree9f06650e4a666538928237f6e04da7c31f1e0d65 /src/com/android/browser/TabControl.java
parentb81735a96d5e44ff9acf275619ad797ec0467670 (diff)
Initial attempt to get the sliding title bar working, using a Gallery.
In addition the sliding title bar, I have now removed the TabPicker. Now, when changing to a new tab, we just go straight there. Also put back in Add bookmark in the top level menu. And fix the bug where switching tabs was always bringing up the bookmarks.
Diffstat (limited to 'src/com/android/browser/TabControl.java')
-rw-r--r--src/com/android/browser/TabControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java
index 6c1ac911..efef303d 100644
--- a/src/com/android/browser/TabControl.java
+++ b/src/com/android/browser/TabControl.java
@@ -150,7 +150,7 @@ class TabControl {
public void onRequestFocus(WebView view) {
Tab t = getTabFromView(view);
if (t != getCurrentTab()) {
- mActivity.showTab(t);
+ mActivity.switchToTab(getTabIndex(t));
}
}
}